Skip to content

Commit

Permalink
Use IC_VERSION only on tags in CI (#2382)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacome authored Jan 25, 2022
1 parent 9d393ba commit 88a255b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ jobs:
pull: true
build-args: |
BUILD_OS=${{ matrix.image }}
IC_VERSION=${{ github.event_name != 'pull_request' && steps.var.outputs.ic_version || 'CI' }}
IC_VERSION=${{ startsWith(github.ref, 'refs/tags/') && steps.var.outputs.ic_version || 'CI' }}
secrets: |
"nginx-repo.crt=${{ secrets.NGINX_CRT }}"
"nginx-repo.key=${{ secrets.NGINX_KEY }}"
Expand Down

0 comments on commit 88a255b

Please sign in to comment.