From 54d8b4158629254e948be1412a1cdbfed85ba282 Mon Sep 17 00:00:00 2001 From: David Ochoa Date: Fri, 26 Apr 2024 17:30:54 +0100 Subject: [PATCH] fix: docker action fixes --- .github/workflows/artifact.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/artifact.yml b/.github/workflows/artifact.yml index a33bd1e55..849aa8268 100644 --- a/.github/workflows/artifact.yml +++ b/.github/workflows/artifact.yml @@ -7,7 +7,7 @@ name: Build and Push to Artifact Registry env: PROJECT_ID: open-targets-genetics-dev REGION: europe-west1 - GAR_LOCATION: europe-west1-docker.pkg.dev/open-targets-genetics-dev/gentropy-app-dev/ + GAR_LOCATION: europe-west1-docker.pkg.dev/open-targets-genetics-dev IMAGE_NAME: gentropy-app jobs: @@ -23,7 +23,7 @@ jobs: credentials_json: "${{ secrets.SERVICE_ACCOUNT_KEY }}" - name: "Set up Cloud SDK" - uses: "google-github-actions/setup-gcloud@v1" + uses: "google-github-actions/setup-gcloud" - name: "Use gcloud CLI" run: "gcloud info" @@ -33,7 +33,7 @@ jobs: gcloud auth configure-docker ${{ env.REGION }}-docker.pkg.dev --quiet - name: Build image - run: docker build . --tag "${{ env.GAR_LOCATION }}/${{ env.IMAGE_NAME }}:${{ github.github.ref_name }}" + run: docker build . --tag "${{ env.GAR_LOCATION }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}" - name: Push image - run: docker push "${{ env.GAR_LOCATION }}/${{ env.IMAGE_NAME }}:${{ github.github.ref_name }}" + run: docker push "${{ env.GAR_LOCATION }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}"