From 7c2fb4569ed8dd627c5c320b442fdb2ad55346a5 Mon Sep 17 00:00:00 2001 From: Tomas Sebestik Date: Mon, 21 Aug 2023 09:07:52 +0200 Subject: [PATCH] change(target-test-base): Update deprecated actions to new versions --- .../build_image_target-test-base_jammy-py.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_image_target-test-base_jammy-py.yml b/.github/workflows/build_image_target-test-base_jammy-py.yml index a180f54..ab69a31 100644 --- a/.github/workflows/build_image_target-test-base_jammy-py.yml +++ b/.github/workflows/build_image_target-test-base_jammy-py.yml @@ -63,7 +63,7 @@ jobs: - python_version: ${{ github.event.inputs.python_3_11_4 == 'false' && '3.11.4' || 'dummy' }} steps: - name: Checkout Repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Extract Major/Minor Version from Full Version id: extract_version @@ -72,13 +72,13 @@ jobs: echo "PYTHON_VERSION_MM=$(echo "${{ matrix.python_version }}" | cut -d'.' -f1,2)" >> $GITHUB_ENV - name: Setup QEMU for Multi-Arch Builds - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Setup Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Login to GitHub Container Registry (GHCR) - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.actor }} @@ -91,7 +91,7 @@ jobs: - name: Cache Docker layers (for PRs) if: github.event_name == 'pull_request' - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: /tmp/.buildx-cache key: buildx-${{ matrix.python_version }}-${{ github.sha }} @@ -99,7 +99,7 @@ jobs: buildx-${{ matrix.python_version }}- - name: Build and Push Docker Image - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v4 with: context: ${{ env.IMAGE_DIR }} platforms: ${{env.IMAGE_ARCHS}}