diff --git a/.github/workflows/docker-publish-on-comment.yml b/.github/workflows/docker-publish-on-comment.yml index 50ea0bfd..8b4c39b0 100644 --- a/.github/workflows/docker-publish-on-comment.yml +++ b/.github/workflows/docker-publish-on-comment.yml @@ -46,12 +46,12 @@ jobs: # Workaround: https://github.com/docker/build-push-action/issues/461 - name: Setup Docker buildx - uses: docker/setup-buildx-action@edfb0fe6204400c56fbfd3feba3fe9ad1adfa345 + uses: docker/setup-buildx-action@be3701b2116d2f723573ca9e8cdb4ca85d3cdaf0 # Login against a Docker registry except on PR # https://github.com/docker/login-action - name: Log into GH registry (ghcr.io) - uses: docker/login-action@3d58c274f17dffee475a5520cbe67f0a882c4dbb + uses: docker/login-action@7840e6ddd4a9223910798f6a315544257fccd96e with: registry: ghcr.io username: ${{ github.actor }} @@ -59,7 +59,7 @@ jobs: - name: Log into Docker Hub registry if: env.DOCKERHUB_USERNAME != '' - uses: docker/login-action@3d58c274f17dffee475a5520cbe67f0a882c4dbb + uses: docker/login-action@7840e6ddd4a9223910798f6a315544257fccd96e with: username: ${{ env.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} @@ -70,7 +70,7 @@ jobs: # 2nd image name is for DockerHub image - name: Extract Docker metadata id: meta - uses: docker/metadata-action@dbef88086f6cef02e264edb7dbf63250c17cef6c + uses: docker/metadata-action@2ee3d3070bb41b40bf7305d15233321e12c1dc5c with: context: git images: | @@ -85,7 +85,7 @@ jobs: # https://github.com/docker/build-push-action - name: Build and push Docker image id: build-and-push - uses: docker/build-push-action@9f6f8c940b91232557f8699b21341a08624a8dce + uses: docker/build-push-action@fc15b64049a7937eb32c718338a7b2245c10f210 with: context: . push: true @@ -96,7 +96,7 @@ jobs: - name: Extract Docker metadata - alpine id: meta-alpine - uses: docker/metadata-action@dbef88086f6cef02e264edb7dbf63250c17cef6c + uses: docker/metadata-action@2ee3d3070bb41b40bf7305d15233321e12c1dc5c with: context: git images: | @@ -108,7 +108,7 @@ jobs: flavor: prefix=alpine-,onlatest=true - name: Build and push Docker image - alpine id: build-and-push-alpine - uses: docker/build-push-action@9f6f8c940b91232557f8699b21341a08624a8dce + uses: docker/build-push-action@fc15b64049a7937eb32c718338a7b2245c10f210 with: context: . target: alpine-release diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 162cd9db..a0d285db 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -47,13 +47,13 @@ jobs: # Workaround: https://github.com/docker/build-push-action/issues/461 - name: Setup Docker buildx - uses: docker/setup-buildx-action@edfb0fe6204400c56fbfd3feba3fe9ad1adfa345 + uses: docker/setup-buildx-action@be3701b2116d2f723573ca9e8cdb4ca85d3cdaf0 # Login against a Docker registry except on PR # https://github.com/docker/login-action - name: Log into GH registry (ghcr.io) if: github.event_name != 'pull_request' - uses: docker/login-action@3d58c274f17dffee475a5520cbe67f0a882c4dbb + uses: docker/login-action@7840e6ddd4a9223910798f6a315544257fccd96e with: registry: ghcr.io username: ${{ github.actor }} @@ -61,7 +61,7 @@ jobs: - name: Log into Docker Hub registry if: github.event_name != 'pull_request' && env.DOCKERHUB_USERNAME != '' - uses: docker/login-action@3d58c274f17dffee475a5520cbe67f0a882c4dbb + uses: docker/login-action@7840e6ddd4a9223910798f6a315544257fccd96e with: username: ${{ env.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} @@ -72,7 +72,7 @@ jobs: # 2nd image name is for DockerHub image - name: Extract Docker metadata id: meta - uses: docker/metadata-action@dbef88086f6cef02e264edb7dbf63250c17cef6c + uses: docker/metadata-action@2ee3d3070bb41b40bf7305d15233321e12c1dc5c with: images: | ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} @@ -82,7 +82,7 @@ jobs: # https://github.com/docker/build-push-action - name: Build and push Docker image id: build-and-push - uses: docker/build-push-action@9f6f8c940b91232557f8699b21341a08624a8dce + uses: docker/build-push-action@fc15b64049a7937eb32c718338a7b2245c10f210 with: context: . push: ${{ github.event_name != 'pull_request' }} @@ -97,7 +97,7 @@ jobs: # 2nd image name is for DockerHub image - name: Extract Docker metadata - alpine id: meta-alpine - uses: docker/metadata-action@dbef88086f6cef02e264edb7dbf63250c17cef6c + uses: docker/metadata-action@2ee3d3070bb41b40bf7305d15233321e12c1dc5c with: images: | ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} @@ -107,7 +107,7 @@ jobs: # https://github.com/docker/build-push-action - name: Build and push Docker image - alpine id: build-and-push-alpine - uses: docker/build-push-action@9f6f8c940b91232557f8699b21341a08624a8dce + uses: docker/build-push-action@fc15b64049a7937eb32c718338a7b2245c10f210 with: context: . target: alpine-release