File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,20 @@ jobs:
2222 username : ${{ secrets.DOCKER_USERNAME }}
2323 password : ${{ secrets.DOCKER_PASSWORD }}
2424
25+ - name : Log in to GitHub Container Registry
26+ uses : docker/login-action@v2
27+ with :
28+ registry : ghcr.io
29+ username : ${{ github.actor }}
30+ password : ${{ secrets.GITHUB_TOKEN }}
31+
2532 - name : Extract metadata (tags, labels) for Docker
2633 id : meta
2734 uses : docker/metadata-action@v4
2835 with :
29- images : ${{ secrets.DOCKER_USERNAME }}/secuscan
36+ images : |
37+ ${{ secrets.DOCKER_USERNAME }}/secuscan
38+ ghcr.io/${{ github.repository }}
3039
3140 - name : Build and push Docker image
3241 uses : docker/build-push-action@v4
6069
6170 create-release :
6271 runs-on : ubuntu-latest
72+ environment :
73+ name : production
74+ url : https://github.com/${{ github.repository }}/releases/tag/${{ github.ref_name }}
6375 permissions :
6476 contents : write
6577 steps :
You can’t perform that action at this time.
0 commit comments