Skip to content

Commit 6f42621

Browse files
authored
Merge branch 'main' into v2-deployment
2 parents 738838d + ea6dd0c commit 6f42621

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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) || '' }}

0 commit comments

Comments
 (0)