Skip to content

Commit f9cc1bd

Browse files
committed
chore: updates GitHub workflows
Signed-off-by: Pedro Lamas <[email protected]>
1 parent a6cf24b commit f9cc1bd

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
runs-on: ubuntu-20.04
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v3
1919

2020
- name: Install node
21-
uses: actions/setup-node@v2
21+
uses: actions/setup-node@v3
2222
with:
2323
node-version: 18
2424

.github/workflows/multiarch_dockerhub.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-20.04
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v3
1616

1717
- name: Latest Release
1818
id: latestrelease
@@ -30,28 +30,28 @@ jobs:
3030
TAGS="$TAGS,${DOCKER_IMAGE}:${VERSION}"
3131
3232
# Set output parameters.
33-
echo ::set-output name=tags::${TAGS}
34-
echo ::set-output name=docker_image::${DOCKER_IMAGE}
35-
echo ::set-output name=git_tag::${VERSION}
33+
echo "tags=${TAGS}" >> $GITHUB_OUTPUT
34+
echo "docker_image=${DOCKER_IMAGE}" >> $GITHUB_OUTPUT
35+
echo "git_tag=${VERSION}" >> $GITHUB_OUTPUT
3636
3737
- name: Set up QEMU
38-
uses: docker/setup-qemu-action@master
38+
uses: docker/setup-qemu-action@v2
3939
with:
4040
platforms: all
4141

4242
- name: Set up Docker Buildx
4343
id: buildx
44-
uses: docker/setup-buildx-action@master
44+
uses: docker/setup-buildx-action@v2
4545

4646
- name: Login to DockerHub
4747
if: github.event_name != 'pull_request'
48-
uses: docker/login-action@v1
48+
uses: docker/login-action@v2
4949
with:
5050
username: ${{ secrets.DOCKER_USERNAME }}
5151
password: ${{ secrets.DOCKER_PASSWORD }}
5252

5353
- name: Build
54-
uses: docker/build-push-action@v2
54+
uses: docker/build-push-action@v3
5555
with:
5656
builder: ${{ steps.buildx.outputs.name }}
5757
context: .

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
runs-on: ubuntu-20.04
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v2
13+
uses: actions/checkout@v3
1414

1515
- name: Install node
16-
uses: actions/setup-node@v2
16+
uses: actions/setup-node@v3
1717
with:
1818
node-version: 18
1919

@@ -35,7 +35,7 @@ jobs:
3535
- name: Get version from tag
3636
id: tag_name
3737
run: |
38-
echo ::set-output name=current_version::${GITHUB_REF#refs/tags/v}
38+
echo "current_version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
3939
4040
- name: Read ChangeLog
4141
uses: mindsers/[email protected]

0 commit comments

Comments
 (0)