File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -10,26 +10,26 @@ jobs:
1010
1111 steps :
1212 - name : Checkout code
13- uses : actions/checkout@v2
13+ uses : actions/checkout@v4
1414 with :
1515 ref : ${{ github.event.release.tag_name }}
1616
1717 - name : Set up Docker Buildx
18- uses : docker/setup-buildx-action@v1
18+ uses : docker/setup-buildx-action@v3
1919
2020 - name : Log in to GHCR
21- uses : docker/login-action@v1
21+ uses : docker/login-action@v3
2222 with :
2323 registry : ghcr.io
2424 username : ${{ github.actor }}
2525 password : ${{ secrets.GITHUB_TOKEN }}
2626
2727 - name : Build and push Docker image
28- uses : docker/build-push-action@v2
28+ uses : docker/build-push-action@v5
2929 with :
3030 context : .
3131 file : Dockerfile
3232 push : true
3333 tags : |
3434 ghcr.io/${{ github.repository }}:${{ github.event.release.tag_name }}
35- ghcr.io/${{ github.repository }}:latest
35+ ${{ github.event.release.prerelease != true && format(' ghcr.io/{0}:latest', github.repository) || '' }}
You can’t perform that action at this time.
0 commit comments