Skip to content

Changing modtype to allow for omission of --modified-bases command fo… #97

Changing modtype to allow for omission of --modified-bases command fo…

Changing modtype to allow for omission of --modified-bases command fo… #97

Workflow file for this run

name: Build Docker images and test pipeline
on:
push:
jobs:
build-docker:
strategy:
matrix:
IMAGE_NAME: ['dorado', 'megalodon', 'minimap2', 'nanopolish', 'bedops', 'bedtools', 'nanohime', 'ontfast5api', 'modkit']
name: Build Docker
runs-on: ubuntu-latest
# Add "id-token" with the intended permissions.
permissions:
contents: 'read'
id-token: 'write'
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
# Configure Workload Identity Federation and generate an access token.
- id: 'auth'
name: 'Authenticate to Google Cloud'
uses: 'google-github-actions/auth@v0'
with:
workload_identity_provider: 'projects/303574531351/locations/global/workloadIdentityPools/github-actions-pool/providers/github-provider'
service_account: '[email protected]'
# Setup gcloud CLI
- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@v0
# Build and push image to Google Container Registry
- name: Build
run: |-
GIT_TAG=$(git describe --tags)
gcloud builds submit \
--config Docker/cloudbuild.yaml \
--region=us-central1 \
--substitutions _GIT_TAG=$GIT_TAG,_IMAGE_NAME=${{ matrix.IMAGE_NAME }}