diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 1c45b37..424b5cf 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -30,25 +30,25 @@ jobs: packages: write steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 # See https://github.com/docker/build-push-action/blob/master/docs/advanced/test-before-push.md - name: Set up QEMU - uses: docker/setup-qemu-action@27d0a4f181a40b142cce983c5393082c365d1480 # v1.2.0 + uses: docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 # v2.2.0 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@94ab11c41e45d028884a99163086648e898eed25 # v1.6.0 + uses: docker/setup-buildx-action@16c0bc4a6e6ada2cfd8afd41d22d95379cf7c32a # v2.8.0 # https://github.com/docker/login-action - name: Log in to the Container registry - uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9 + uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and export to Docker - uses: docker/build-push-action@a66e35b9cbcf4ad0ea91ffcaf7bbad63ad9e0229 # v2.7.0 + uses: docker/build-push-action@2eb1c1961a95fc15694676618e422e8ba1d63825 # v4.1.1 with: context: transport-site # "load: true" apparently exports the image on the client (no external push), @@ -75,7 +75,7 @@ jobs: # https://github.com/docker/metadata-action - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@3a3bb3a81753dc99f090d24ee7e5343838b73a96 + uses: docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175 # v4.6.0 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} @@ -83,7 +83,7 @@ jobs: # TODO: verify if this will rebuild everything or not. Maybe we can re-tag # the tested image above? - name: Build and push Docker image - uses: docker/build-push-action@a66e35b9cbcf4ad0ea91ffcaf7bbad63ad9e0229 + uses: docker/build-push-action@2eb1c1961a95fc15694676618e422e8ba1d63825 with: context: transport-site push: true