File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 3030 id : push
3131 uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83
3232 with :
33- push : ${{ github.ref == 'refs/heads/main' }} # only push to ghcr.io on the main branch
34- tags : ghcr.io/${{github.repository}}:latest
33+ # Only push to ghcr.io on pushes to the main branch
34+ push : ${{ github.ref == 'refs/heads/main' }}
35+ # Tag images with the current SHA and with 'latest'
36+ tags : " ghcr.io/llvm/llvm-lnt:latest,ghcr.io/llvm/llvm-lnt:${{ github.sha }}"
3537 file : docker/lnt.dockerfile
36- context : . # use the current directory as context, as checked out by actions/checkout -- needed for setuptools_scm
38+ # Use the current directory as context, as checked out by actions/checkout -- needed for setuptools_scm
39+ context : .
You can’t perform that action at this time.
0 commit comments