File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 1- name : Docker
1+ name : Build and publish docker image
22
33on :
4- push :
5- tags : ["v*.*.*" ]
4+ release :
5+ types : [published ]
66
77env :
88 REGISTRY : ghcr.io
@@ -17,30 +17,29 @@ jobs:
1717
1818 steps :
1919 - name : Checkout repository
20- uses : actions/checkout@v3
20+ uses : actions/checkout@v4
2121
2222 - name : Set up Docker Buildx
23- uses : docker/setup-buildx-action@v2
23+ uses : docker/setup-buildx-action@v3
2424
2525 - name : Log into registry ${{ env.REGISTRY }}
26- uses : docker/login-action@v2.1.0
26+ uses : docker/login-action@v3
2727 with :
2828 registry : ${{ env.REGISTRY }}
2929 username : ${{ github.actor }}
3030 password : ${{ secrets.GITHUB_TOKEN }}
3131
3232 - name : Extract Docker metadata
3333 id : meta
34- uses : docker/metadata-action@v4
34+ uses : docker/metadata-action@v5
3535 with :
3636 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
3737
3838 - name : Build and push Docker image
3939 id : build-and-push
40- uses : docker/build-push-action@v3
40+ uses : docker/build-push-action@v5
4141 with :
4242 context : .
43- file : ./Dockerfile.build
4443 push : true
4544 tags : ${{ steps.meta.outputs.tags }}
4645 labels : ${{ steps.meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments