Skip to content

Commit

Permalink
chore(actions): update github-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] committed Feb 19, 2024
1 parent 7ecba5a commit ea9eb90
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,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 @@ -88,7 +88,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 @@ -113,13 +113,13 @@ 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 }}
labels: ${{ steps.extract-custom-labels.outputs.labels }}

- 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 @@ -137,7 +137,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 Expand Up @@ -170,7 +170,7 @@ jobs:
kubectl version
- name: Download Docker image archive
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ needs.build-docker.outputs.image-archive }}
path: ${{ runner.temp }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,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 Down Expand Up @@ -82,13 +82,13 @@ 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 }}
labels: ${{ steps.extract-custom-labels.outputs.labels }}

- 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 ea9eb90

Please sign in to comment.