Skip to content

Commit

Permalink
chore(actions): update github-actions (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Mar 2, 2024
1 parent fa61f0c commit a2d562a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 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 All @@ -151,7 +151,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- uses: azure/setup-helm@v3
- uses: azure/setup-helm@v4
with:
version: ${{ env.HELM_VERSION }}

Expand All @@ -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 a2d562a

Please sign in to comment.