File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 with :
1919 username : ${{ secrets.DOCKERHUB_USERNAME }}
2020 password : ${{ secrets.DOCKERHUB_TOKEN }}
21- - name : Build and push
21+ - name : Build and push to Docker Hub
2222 uses : docker/build-push-action@v6
2323 with :
2424 push : true
2525 tags : archmonger/conreq:develop
26+ - name : Push to GitHub Container Registry
27+ run : docker push ghcr.io/archmonger/conreq:develop
Original file line number Diff line number Diff line change 1717 with :
1818 username : ${{ secrets.DOCKERHUB_USERNAME }}
1919 password : ${{ secrets.DOCKERHUB_TOKEN }}
20- - name : Build and push
20+ - name : Build and push to Docker Hub
2121 uses : docker/build-push-action@v6
2222 with :
2323 push : true
24- tags : archmonger/conreq:latest
24+ tags : archmonger/conreq:latest,archmonger/conreq:${{ github.event.release.tag_name }}
25+ - name : Push to GitHub Container Registry
26+ run : docker push ghcr.io/archmonger/conreq:latest && docker push ghcr.io/archmonger/conreq:${{ github.event.release.tag_name }}
You can’t perform that action at this time.
0 commit comments