Skip to content

Commit

Permalink
fix and fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueHorn07 committed Sep 28, 2024
1 parent 282db5f commit f1a9e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/github-action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
tags: ${{ env.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }}:${{ env.IMAGE_TAG }}
build-args: |
"NEXT_PUBLIC_ENV=${{ env.NEXT_PUBLIC_ENV }}"
"POPO_VERSION=${{ env.NEXT_PUBLIC_ENV == 'prod' ? github.ref_name : github.sha }}"
"POPO_VERSION=${{ if(eq(env.NEXT_PUBLIC_ENV, 'prod'), github.ref_name, github.sha) }}"
cache-from: type=gha
cache-to: type=gha,mode=max
push: true
Expand Down

0 comments on commit f1a9e25

Please sign in to comment.