File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -38,24 +38,23 @@ jobs:
3838 ${{ vars.DOCKER_ORG }}/${{ github.event.repository.name }} # For DockerHub
3939 ghcr.io/${{ github.repository }} # For GHCR
4040 tags : |
41- type=ref,event=branch
42- # set test tag for develop branch
43- type=raw,value=test,enable=${{ github.ref == 'refs/heads/develop' }}
41+ type=raw,value=develop,enable=${{ github.ref == 'refs/heads/develop' }}
42+ type=raw,value=latest,enable=${{ github.ref == 'refs/heads/develop' }}
4443
4544 # Build and push Docker image to Docker Hub
4645 - name : Build and push Docker image to Docker Hub
4746 uses : docker/build-push-action@v5
4847 with :
4948 context : .
5049 push : true
51- tags : ${{ steps.meta.outputs.tags }}
52- labels : ${{ steps.meta.outputs.labels }}
50+ tags : |
51+ ${{ vars.DOCKER_ORG }}/${{ github.event.repository.name }}:latest
5352
5453 # Build and push Docker image to GHCR
5554 - name : Build and push Docker image to GHCR
5655 uses : docker/build-push-action@v5
5756 with :
5857 context : .
5958 push : true
60- tags : ghcr.io/${{ github.repository }}:${{ steps.meta.outputs.tags }}
61- labels : ${{ steps.meta.outputs.labels }}
59+ tags : |
60+ ghcr.io/ ${{ github.repository }}:develop
You can’t perform that action at this time.
0 commit comments