Skip to content

Commit

Permalink
Revert to tagging sha and latest. Disable multi arch build.
Browse files Browse the repository at this point in the history
  • Loading branch information
ychescale9 committed Aug 14, 2024
1 parent 4620113 commit da5fb10
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ jobs:
- name: Build GraalVM native executable
run: ./gradlew nativeCompile --no-configuration-cache

- uses: docker/setup-buildx-action@v3

- uses: docker/login-action@v3
with:
registry: ${{ env.REGION }}-docker.pkg.dev
Expand All @@ -80,8 +78,7 @@ jobs:
with:
context: .
push: true
labels: build=${{ env.SHA_SHORT }}
tags: ${{ env.CONTAINER_IMAGE }}:latest
tags: ${{ env.CONTAINER_IMAGE }}:${{ env.SHA_SHORT }},${{ env.CONTAINER_IMAGE }}:latest

- uses: google-github-actions/auth@v2
with:
Expand All @@ -92,7 +89,7 @@ jobs:
- name: Deploy to Cloud Run
run: |
gcloud run deploy ${{ env.SERVICE_NAME }} \
--image ${{ env.CONTAINER_IMAGE }}:latest \
--image ${{ env.CONTAINER_IMAGE }}:${{ env.SHA_SHORT }} \
--region ${{ env.REGION }} \
--cpu ${{ env.CPU }} \
--memory ${{ env.MEMORY }} \
Expand Down

0 comments on commit da5fb10

Please sign in to comment.