diff --git a/.github/workflows/image-publishing.yml b/.github/workflows/image-publishing.yml index fa8f0342..97e0b816 100644 --- a/.github/workflows/image-publishing.yml +++ b/.github/workflows/image-publishing.yml @@ -31,7 +31,7 @@ jobs: uses: actions/checkout@v6 # 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.7.0 + uses: docker/login-action@v4.0.0 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -39,7 +39,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 id: meta - uses: docker/metadata-action@v5.10.0 + uses: docker/metadata-action@v6.0.0 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} # This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages. @@ -47,7 +47,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 id: push - uses: docker/build-push-action@v6.19.2 + uses: docker/build-push-action@v7.0.0 with: context: container_recipes build-args: | @@ -58,7 +58,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 - uses: actions/attest-build-provenance@v3 + uses: actions/attest-build-provenance@v4 with: subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}} subject-digest: ${{ steps.push.outputs.digest }} diff --git a/.github/workflows/pip-audit.yml b/.github/workflows/pip-audit.yml index 131bc0e7..b3b7c11a 100644 --- a/.github/workflows/pip-audit.yml +++ b/.github/workflows/pip-audit.yml @@ -69,7 +69,7 @@ jobs: fi cat audit-report-${{ matrix.python-version }}.md >> "$GITHUB_STEP_SUMMARY" fi - - uses: actions/upload-artifact@v6 + - uses: actions/upload-artifact@v7 with: name: audit-${{ matrix.python-version }} retention-days: 2 @@ -135,7 +135,7 @@ jobs: fi cat audit-report-${{ matrix.python-version }}.md >> "$GITHUB_STEP_SUMMARY" fi - - uses: actions/upload-artifact@v6 + - uses: actions/upload-artifact@v7 with: name: audit-${{ matrix.python-version }} retention-days: 2 @@ -156,7 +156,7 @@ jobs: id: timestamp run: echo "timestamp=$(date -Is)" >> "$GITHUB_OUTPUT" - uses: actions/checkout@v6 - - uses: actions/download-artifact@v7 + - uses: actions/download-artifact@v8 id: download with: pattern: audit-* diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 0e1420e1..02fd5c77 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -91,7 +91,7 @@ jobs: - name: Print licences report if: ${{ always() }} run: echo "${{ steps.license_check_print_report.outputs.report }}" - - uses: actions/upload-artifact@v6 + - uses: actions/upload-artifact@v7 with: name: pre-commit-${{ matrix.python-version }} retention-days: 2 @@ -174,7 +174,7 @@ jobs: - name: Print licences report if: ${{ always() }} run: echo "${{ steps.license_check_print_report.outputs.report }}" - - uses: actions/upload-artifact@v6 + - uses: actions/upload-artifact@v7 with: name: pre-commit-${{ matrix.python-version }} retention-days: 2 @@ -193,7 +193,7 @@ jobs: id: timestamp run: echo "timestamp=$(date -Is)" >> "$GITHUB_OUTPUT" - uses: actions/checkout@v6 - - uses: actions/download-artifact@v7 + - uses: actions/download-artifact@v8 id: download with: pattern: pre-commit-*