Skip to content

Commit

Permalink
change(target-test-base): Update deprecated actions to new versions
Browse files Browse the repository at this point in the history
  • Loading branch information
tomassebestik committed Aug 21, 2023
1 parent 1e4d59c commit 7c2fb45
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build_image_target-test-base_jammy-py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand All @@ -91,15 +91,15 @@ 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 }}
restore-keys: |
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}}
Expand Down

0 comments on commit 7c2fb45

Please sign in to comment.