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 }}"