From c9fce5e36c3b13a80908a8a49d3af77019951287 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 8 Feb 2024 00:06:32 +0000 Subject: [PATCH] chore(actions): update github-actions --- .github/workflows/build.yaml | 12 ++++++------ .github/workflows/publish.yaml | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0fb0880..736e846 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 @@ -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 @@ -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: . @@ -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 @@ -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 }} diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index b7d7772..33a6043 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -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 }} @@ -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: .