Skip to content

Commit

Permalink
chore(actions): update github-actions (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Mar 2, 2024
1 parent 47d7cae commit d08ba5e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version-file: go.mod

Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Prepare repository name
id: prepare-repository-name
Expand All @@ -95,12 +95,12 @@ jobs:
- name: Extract metadata (tags, labels) for Docker
id: extract-metadata
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: ${{ steps.prepare-repository-name.outputs.repository }}

- name: Build Docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
context: .
Expand All @@ -118,7 +118,7 @@ jobs:
labels: ${{ steps.extract-metadata.outputs.labels }}

- name: Upload Docker image archive
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: image.tar
path: ${{ runner.temp }}/image.tar
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
uses: actions/checkout@v4

- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Log in to the Container registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
Expand All @@ -47,12 +47,12 @@ jobs:
- name: Extract metadata (tags, labels) for Docker
id: extract-metadata
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: ${{ steps.prepare-repository-name.outputs.repository }}

- name: Build and push Docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
context: .
Expand Down

0 comments on commit d08ba5e

Please sign in to comment.