From cb365e3bb9a1ff74776a76c3450221e6dfbe9096 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 18 Jan 2024 05:11:31 +0000 Subject: [PATCH] chore(actions): update github-actions --- .github/workflows/build.yaml | 10 +++++----- .github/workflows/publish.yaml | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 53d3d10..4027437 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 @@ -63,7 +63,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 @@ -73,12 +73,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: . @@ -96,7 +96,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 diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 9ed0abe..9b0e89f 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -29,10 +29,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 }} @@ -46,12 +46,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: .