From 84863934e9f611f8e58528ea3821d74bfc0dd590 Mon Sep 17 00:00:00 2001 From: Wouter Born Date: Tue, 22 Apr 2025 13:19:10 +0200 Subject: [PATCH] Upgrade GitHub Actions * Upgrade actions to fix deprecation warnings * Remove trailing whitespace --- .github/workflows/proxy.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/proxy.yml b/.github/workflows/proxy.yml index a0f1877..bc7dab3 100644 --- a/.github/workflows/proxy.yml +++ b/.github/workflows/proxy.yml @@ -20,17 +20,17 @@ on: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: image_proxy: - + env: PLATFORM: linux/amd64,linux/aarch64,linux/arm/v7,linux/arm/v6 - + runs-on: ubuntu-latest - + steps: - - uses: styfle/cancel-workflow-action@3d86a7cc43670094ac248017207be0295edbc31d # 0.8.0 + - uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1 with: access_token: ${{ github.token }} - + - name: Set tags run: | if [ -z "$TAG" ]; then @@ -40,30 +40,30 @@ jobs: fi env: TAG: ${{ github.event.release.tag_name }} - - - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 - + + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + - name: set up QEMU - uses: docker/setup-qemu-action@27d0a4f181a40b142cce983c5393082c365d1480 # v1 + uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3 with: platforms: all - + - name: install buildx id: buildx - uses: docker/setup-buildx-action@f211e3e9ded2d9377c8cadc4489a4e38014bc4c9 # v1 + uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3 with: version: latest install: true - + - name: available platforms run: echo ${{ steps.buildx.outputs.platforms }} - + - name: Login to DockerHub - uses: docker/login-action@dd4fa0671be5250ee6f50aedf4cb05514abda2c7 # v1 + uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3 with: username: ${{ secrets._TEMP_DOCKERHUB_USER }} password: ${{ secrets._TEMP_DOCKERHUB_PASSWORD }} - + - name: build and push images run: | docker build --build-arg GIT_COMMIT=${{ github.sha }} --push --platform $PLATFORM $TAG .