Skip to content

Commit

Permalink
fix: Add correct Docker image name
Browse files Browse the repository at this point in the history
  • Loading branch information
PolicyEngine[bot] committed Sep 5, 2024
1 parent 752ab5e commit 66b5524
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/push_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
PROJECT_ID: policyengine-api
SERVICE_NAME: policyengine-api-cloud-run-test
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
IMAGE_NAME: policyengine-api/gcp/policyengine-api/Dockerfile

jobs:
# Temporarily disable
Expand Down Expand Up @@ -82,13 +82,17 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Build and push Docker image
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }},${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Setup Google Cloud SDK
uses: google-github-actions/setup-gcloud@v1
Expand Down

0 comments on commit 66b5524

Please sign in to comment.