Skip to content
This repository was archived by the owner on Jan 6, 2024. It is now read-only.

Commit a3edbc4

Browse files
author
Antonio Cheong
authored
restore action versions
1 parent cf2d67c commit a3edbc4

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/docker-publish.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout repository
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v3
2222

2323
- name: Set up Go
24-
uses: actions/setup-go@v2
24+
uses: actions/setup-go@v4
2525
with:
2626
go-version: '1.21'
2727

@@ -44,16 +44,16 @@ jobs:
4444

4545
steps:
4646
- name: Checkout repository
47-
uses: actions/checkout@v2
47+
uses: actions/checkout@v3
4848

4949
- name: Setup Docker buildx
50-
uses: docker/setup-buildx-action@v1
50+
uses: docker/setup-buildx-action@v2
5151

5252
# Login against a Docker registry except on PR
5353
# https://github.com/docker/login-action
5454
- name: Log into registry ${{ env.REGISTRY }}
5555
if: github.event_name != 'pull_request'
56-
uses: docker/login-action@v1
56+
uses: docker/login-action@v2
5757
with:
5858
registry: ${{ env.REGISTRY }}
5959
username: ${{ github.actor }}
@@ -63,14 +63,14 @@ jobs:
6363
# https://github.com/docker/metadata-action
6464
- name: Extract Docker metadata
6565
id: meta
66-
uses: docker/metadata-action@v3
66+
uses: docker/metadata-action@v4
6767
with:
6868
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
6969
tags: |
7070
type=ref,event=branch
7171
type=ref,event=tag
72-
73-
# Determine the release version
72+
# Determine the release version
73+
7474
- name: Get release version
7575
id: get-release-version
7676
run: echo ::set-output name=version::${GITHUB_REF/refs\/tags\//}
@@ -80,7 +80,7 @@ jobs:
8080
# https://github.com/docker/build-push-action
8181
- name: Build and push Docker image
8282
id: build-and-push
83-
uses: docker/build-push-action@v2
83+
uses: docker/build-push-action@v4
8484
with:
8585
context: .
8686
push: ${{ github.event_name != 'pull_request' }}

0 commit comments

Comments
 (0)