diff --git a/.github/workflows/images-publishing.yml b/.github/workflows/images-publishing.yml index 40a082b..523bc9a 100644 --- a/.github/workflows/images-publishing.yml +++ b/.github/workflows/images-publishing.yml @@ -35,10 +35,10 @@ jobs: # steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 # Uses the `docker/login-action` action to log in to the Container registry registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here. - name: Log in to the Container registry - uses: docker/login-action@v3.4.0 + uses: docker/login-action@v3.5.0 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -47,7 +47,7 @@ jobs: # This step uses [docker/metadata-action](https://github.com/docker/metadata-action#about) to extract tags and labels that will be applied to the specified image. The `id` "meta" allows the output of this step to be referenced in a subsequent step. The `images` value provides the base name for the tags and labels. - name: Extract metadata (tags, labels) for Docker ${{ matrix.image }} id: meta - uses: docker/metadata-action@v5.7.0 + uses: docker/metadata-action@v5.8.0 with: images: ${{ env.REGISTRY }}/${{ matrix.image }} @@ -56,7 +56,7 @@ jobs: # It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step. - name: Build and push Docker image ${{ matrix.image }} id: push - uses: docker/build-push-action@v6.16.0 + uses: docker/build-push-action@v6.18.0 with: context: ${{ matrix.context }} # build-args: | @@ -67,7 +67,7 @@ jobs: # This step generates an artifact attestation for the image, which is an unforgeable statement about where and how it was built. It increases supply chain security for people who consume the image. For more information, see "[AUTOTITLE](/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds)." - name: Generate artifact attestation for ${{ matrix.image }} - uses: actions/attest-build-provenance@v2 + uses: actions/attest-build-provenance@v3 with: subject-name: ${{ env.REGISTRY }}/${{ matrix.image }} subject-digest: ${{ steps.push.outputs.digest }}