Skip to content

Debugging

Debugging #4

Workflow file for this run

# Continuous integration test of any branch.
name: CI
on:
push:
branches-ignore:
- main
jobs:
# Build Docker image
build_docker:
runs-on: ubuntu-latest
steps:
- name: Work around permissions issue
run: git config --global --add safe.directory /__w/hidive/hidive
- uses: 'actions/checkout@v2'
- id: 'auth'
name: 'Authenticate to Google Cloud'
uses: 'google-github-actions/auth@v0'
with:
credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}'
- name: Image
run: |-
TAG=$(git rev-parse --abbrev-ref HEAD)
cd docker
docker build --build-arg branch=$TAG -t us.gcr.io/broad-dsp-lrma/lr-hidive:$TAG .
gcloud auth configure-docker -q
docker push -q us.gcr.io/broad-dsp-lrma/lr-hidive:$TAG