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