diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index a009004..77c08a4 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -7,9 +7,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4.0.0 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.11' - uses: pre-commit/action@v3.0.1 tagging: name: "Tagging (dry-run)" @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v4.0.0 - name: Bump version and push tag id: tag_version - uses: mathieudutour/github-tag-action@v6.1 + uses: mathieudutour/github-tag-action@v6.2 with: github_token: ${{ secrets.GITHUB_TOKEN }} dry_run: true @@ -30,7 +30,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4.0.0 - - uses: arduino/setup-task@v1 + - uses: arduino/setup-task@v2 - name: Lint and tests run: | task test diff --git a/.github/workflows/tag_and_build.yaml b/.github/workflows/tag_and_build.yaml index 6b7efbb..abce2c0 100644 --- a/.github/workflows/tag_and_build.yaml +++ b/.github/workflows/tag_and_build.yaml @@ -7,9 +7,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4.0.0 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.11' - uses: pre-commit/action@v3.0.1 tagging: name: "Tagging" @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v4.0.0 - name: Bump version and push tag id: tag_version - uses: mathieudutour/github-tag-action@v6.1 + uses: mathieudutour/github-tag-action@v6.2 with: github_token: ${{ secrets.GITHUB_TOKEN }} - run: | diff --git a/action.yml b/action.yml index 9d5563c..2008a43 100644 --- a/action.yml +++ b/action.yml @@ -173,7 +173,7 @@ inputs: runs: using: "composite" steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: '3.11' @@ -192,6 +192,10 @@ runs: final_platforms_list=$(echo $platform_list_temp | tr -d ' ' | tr ',' '\n' | sort | uniq | paste -sd ',' -) echo "image_platforms=${final_platforms_list}" >> $GITHUB_OUTPUT + - name: Set up QEMU + id: qemu + uses: docker/setup-qemu-action@v3.3.0 + - name: Set up Docker Buildx id: buildx uses: docker/setup-buildx-action@v3 @@ -201,7 +205,7 @@ runs: # Login to registries - name: Login to Artifactory - uses: docker/login-action@v2 + uses: docker/login-action@v3 if: ${{inputs.artifactory_username != '' && inputs.artifactory_password != '' }} with: registry: ${{ inputs.artifactory_url }} @@ -209,7 +213,7 @@ runs: password: ${{ inputs.artifactory_password }} - name: Login to Quay - uses: docker/login-action@v2 + uses: docker/login-action@v3 if: ${{inputs.quay_username != '' && inputs.quay_password != '' }} with: registry: quay.io @@ -217,7 +221,7 @@ runs: password: ${{ inputs.quay_password }} - name: Login to GAR - uses: docker/login-action@v2 + uses: docker/login-action@v3 if: ${{inputs.gar_password != '' }} with: registry: ${{ inputs.gar_prefix }} @@ -235,7 +239,7 @@ runs: - name: Bump container version and create new github tag if: ${{ ! inputs.external_tag }} id: bump_version - uses: mathieudutour/github-tag-action@v1.0 + uses: mathieudutour/github-tag-action@v6.2 with: github_token: ${{ inputs.github_token }} tag_prefix: container/${{ inputs.image_name }}- @@ -286,7 +290,7 @@ runs: type=raw,value=${{ inputs.external_tag || steps.image_tag.outputs.ver }} - name: Build container - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 if: ${{ inputs.build == 'true' }} with: context: ${{ inputs.context_path }} @@ -323,7 +327,7 @@ runs: policy-list: ${{ inputs.policy-list }} - name: Push container - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 if: ${{ inputs.push == 'true' && inputs.dry_run != 'true' }} with: context: ${{ inputs.context_path }} @@ -336,7 +340,7 @@ runs: provenance: ${{ inputs.provenance }} - name: Save image to file - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 if: ${{ inputs.upload_artifact == 'true' && inputs.build == 'true' }} with: context: ${{ inputs.context_path }}