2020# A workflow run is made up of one or more jobs that can run sequentially or in parallel
2121jobs :
2222 image_proxy :
23-
23+
2424 env :
2525 PLATFORM : linux/amd64,linux/aarch64,linux/arm/v7,linux/arm/v6
26-
26+
2727 runs-on : ubuntu-latest
28-
28+
2929 steps :
30- - uses : styfle/cancel-workflow-action@3d86a7cc43670094ac248017207be0295edbc31d # 0.8.0
30+ - uses : styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
3131 with :
3232 access_token : ${{ github.token }}
33-
33+
3434 - name : Set tags
3535 run : |
3636 if [ -z "$TAG" ]; then
@@ -40,30 +40,30 @@ jobs:
4040 fi
4141 env :
4242 TAG : ${{ github.event.release.tag_name }}
43-
44- - uses : actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
45-
43+
44+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
45+
4646 - name : set up QEMU
47- uses : docker/setup-qemu-action@27d0a4f181a40b142cce983c5393082c365d1480 # v1
47+ uses : docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3
4848 with :
4949 platforms : all
50-
50+
5151 - name : install buildx
5252 id : buildx
53- uses : docker/setup-buildx-action@f211e3e9ded2d9377c8cadc4489a4e38014bc4c9 # v1
53+ uses : docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3
5454 with :
5555 version : latest
5656 install : true
57-
57+
5858 - name : available platforms
5959 run : echo ${{ steps.buildx.outputs.platforms }}
60-
60+
6161 - name : Login to DockerHub
62- uses : docker/login-action@dd4fa0671be5250ee6f50aedf4cb05514abda2c7 # v1
62+ uses : docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3
6363 with :
6464 username : ${{ secrets._TEMP_DOCKERHUB_USER }}
6565 password : ${{ secrets._TEMP_DOCKERHUB_PASSWORD }}
66-
66+
6767 - name : build and push images
6868 run : |
6969 docker build --build-arg GIT_COMMIT=${{ github.sha }} --push --platform $PLATFORM $TAG .
0 commit comments