From 2970d1ac80ba0d2a79fd67971f2bf5293a8f1e79 Mon Sep 17 00:00:00 2001 From: Peter Johanson Date: Mon, 29 Jan 2024 03:10:38 -0800 Subject: [PATCH] chore: Bump a lot of GHA deps. --- .github/workflows/containers.yml | 42 ++++++++++++++++---------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index 5170493d..97cbf569 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -41,7 +41,7 @@ jobs: - name: Install yaml2json run: python3 -m pip install remarshal - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Import from architectures.yml id: import run: echo "json=$(yaml2json architectures.yml | jq -c .)" >> $GITHUB_OUTPUT @@ -94,14 +94,14 @@ jobs: - name: Login to Docker Hub id: docker-hub-login if: ${{ env.docker-hub-credentials == 'true' }} - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_HUB_USERNAME }} password: ${{ secrets.DOCKER_HUB_TOKEN }} - name: Login to GitHub Container Registry id: ghcr-login if: ${{ env.ghcr-credentials == 'true' }} - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ secrets.GHCR_USERNAME }} @@ -127,7 +127,7 @@ jobs: echo "major-minor-branch-upstream=docker.io/${NSU}/${REPOSITORY}:${MAJOR_MINOR_BRANCH}" >> $GITHUB_OUTPUT - name: Set up cache id: cache - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: dev-generic with: @@ -136,11 +136,11 @@ jobs: restore-keys: | ${{ runner.os }}/${{ env.cache-name }}/${{ github.run_id }} - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Build to local cache - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: target: dev-generic platforms: linux/amd64,linux/arm64 @@ -157,7 +157,7 @@ jobs: cache-to: type=local,dest=${{ steps.paths.outputs.local-new }},mode=max - name: Push to registry cache if: ${{ env.docker-hub-credentials == 'true' }} - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: target: dev-generic platforms: linux/amd64,linux/arm64 @@ -201,14 +201,14 @@ jobs: - name: Login to Docker Hub id: docker-hub-login if: ${{ env.docker-hub-credentials == 'true' }} - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_HUB_USERNAME }} password: ${{ secrets.DOCKER_HUB_TOKEN }} - name: Login to GitHub Container Registry id: ghcr-login if: ${{ env.ghcr-credentials == 'true' }} - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ secrets.GHCR_USERNAME }} @@ -278,18 +278,18 @@ jobs: echo "${delimiter}" >> $GITHUB_OUTPUT - name: Set up dev-generic cache id: dev-generic-cache - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: dev-generic with: path: ${{ steps.paths.outputs.dev-generic }} key: ${{ runner.os }}/${{ env.cache-name }}/${{ github.run_id }}/${{ needs.timestamp.outputs.timestamp }} - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Build and load 'build' candidate image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: target: build build-args: | @@ -310,7 +310,7 @@ jobs: cache-to: type=inline load: true - name: Build and load 'dev' candidate image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: target: dev build-args: | @@ -332,12 +332,12 @@ jobs: cache-to: type=inline load: true - name: Checkout ZMK - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: ${{ env.zmk-repository }} ref: ${{ env.zmk-ref }} - name: Cache Zephyr modules - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: zephyr-modules with: @@ -433,7 +433,7 @@ jobs: if: ${{ always() }} - name: Build and push 'build' candidate image (x86_64 and arm64) if: ${{ steps.docker-hub-login.outcome == 'success' }} - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: target: build platforms: linux/amd64,linux/arm64 @@ -456,7 +456,7 @@ jobs: push: true - name: Build and push 'dev' candidate image (x86_64 + arm64) if: ${{ steps.docker-hub-login.outcome == 'success' }} - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: target: dev platforms: linux/amd64,linux/arm64 @@ -595,7 +595,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Tag env: TAG: ${{ needs.tags.outputs.major-minor }} @@ -667,7 +667,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ needs.stable-release-trigger.outputs.stable-tag }} - name: Tag