File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -36,17 +36,11 @@ jobs:
3636 username : ${{ github.actor }}
3737 password : ${{ secrets.GITHUB_TOKEN }}
3838
39- - name : Generate date tag for nightly builds
40- id : date
41- if : inputs.is_nightly == true
42- run : echo "date_tag=$(date +'%Y%m%d')" >> $GITHUB_OUTPUT
43-
4439 - name : Build and push Docker image
4540 uses : docker/build-push-action@v5
4641 with :
4742 context : .
4843 file : ./Dockerfile.precommit
4944 platforms : linux/amd64,linux/arm64
5045 push : ${{ github.event_name != 'pull_request' }} # Only push on merge to main, not on PRs
51- tags : |
52- ${{ inputs.is_nightly != true && format('ghcr.io/{0}/semantic-router/precommit:latest', env.REPOSITORY_OWNER_LOWER) || '' }}
46+ tags : ghcr.io/${{ env.REPOSITORY_OWNER_LOWER }}/semantic-router/precommit:latest
You can’t perform that action at this time.
0 commit comments