diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0fb0880..d793a14 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: . 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: .