bugfix #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Push Docker | |
on: | |
push: | |
branches: | |
- dockerize-experiments | |
pull_request: | |
branches: | |
- main | |
types: [closed] | |
jobs: | |
build-and-push: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Set up Docker Builder | |
uses: docker/setup-buildx-action@v1 | |
- name: Log in to Google Cloud Artifact Registry | |
uses: google-github-actions/setup-gcloud@v2 | |
with: | |
project_id: ${{ secrets.GCP_PROJECT_ID }} | |
service_account_key: ${{ secrets.GCP_SA_KEY }} | |
export_default_credentials: true | |
- name: Configure Docker for Google Cloud Artifact Registry | |
run: gcloud auth configure-docker europe-west3-docker.pkg.dev | |
- name: Build and Push Docker Image | |
uses: docker/build-push-action@v2 | |
with: | |
push: true | |
tags: europe-west3-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/docker/veriflow:latest |