Skip to content

Commit 28cfde4

Browse files
committed
update actions versions
1 parent 84d256c commit 28cfde4

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/publish.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,33 @@ on:
88
jobs:
99
build-and-push:
1010
runs-on: ubuntu-latest
11+
1112
permissions:
1213
contents: read
1314
packages: write
15+
1416
steps:
1517
- name: Checkout code
16-
uses: actions/checkout@v2
18+
uses: actions/checkout@v4
1719

1820
- name: Extract Version from Dockerfile
1921
id: docker_meta
2022
run: |
2123
VERSION_LABEL=$(grep 'org.opencontainers.image.version' ./Dockerfile | cut -d '"' -f 2)
22-
echo "::set-output name=VERSION::$VERSION_LABEL"
24+
echo "VERSION=$VERSION_LABEL" >> $GITHUB_OUTPUT
2325
2426
- name: Set up Docker Buildx
25-
uses: docker/setup-buildx-action@v1
27+
uses: docker/setup-buildx-action@v3
2628

2729
- name: Log in to GitHub Container Registry
28-
uses: docker/login-action@v1
30+
uses: docker/login-action@v3
2931
with:
3032
registry: ghcr.io
3133
username: ${{ github.actor }}
3234
password: ${{ secrets.GITHUB_TOKEN }}
3335

3436
- name: Build and push Docker image
35-
uses: docker/build-push-action@v2
37+
uses: docker/build-push-action@v5
3638
with:
3739
context: .
3840
file: ./Dockerfile

0 commit comments

Comments
 (0)