diff --git a/.github/workflows/docker-publish-on-comment.yml b/.github/workflows/docker-publish-on-comment.yml index cace4267..fefc7df2 100644 --- a/.github/workflows/docker-publish-on-comment.yml +++ b/.github/workflows/docker-publish-on-comment.yml @@ -52,14 +52,14 @@ jobs: # Login against a Docker registry except on PR # https://github.com/docker/login-action - name: Log into GH registry ${{ env.REGISTRY }} - uses: docker/login-action@3d58c274f17dffee475a5520cbe67f0a882c4dbb + uses: docker/login-action@83a00bc1ab5ded6580f31df1c49e6aaa932d840d with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Log into Docker Hub registry ${{ env.REGISTRY }} - uses: docker/login-action@3d58c274f17dffee475a5520cbe67f0a882c4dbb + uses: docker/login-action@83a00bc1ab5ded6580f31df1c49e6aaa932d840d with: username: ${{ secrets.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@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 with: context: git images: | @@ -86,7 +86,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@4976231911ebf5f32aad765192d35f942aa48cb8 with: context: . push: true diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index c4d6fc09..7fa20f50 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -55,7 +55,7 @@ jobs: # https://github.com/docker/login-action - name: Log into GH registry ${{ env.REGISTRY }} if: github.event_name != 'pull_request' - uses: docker/login-action@3d58c274f17dffee475a5520cbe67f0a882c4dbb + uses: docker/login-action@83a00bc1ab5ded6580f31df1c49e6aaa932d840d with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -63,7 +63,7 @@ jobs: - name: Log into Docker Hub registry ${{ env.REGISTRY }} if: github.event_name != 'pull_request' - uses: docker/login-action@3d58c274f17dffee475a5520cbe67f0a882c4dbb + uses: docker/login-action@83a00bc1ab5ded6580f31df1c49e6aaa932d840d with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} @@ -74,7 +74,7 @@ jobs: # 2nd image name is for DockerHub image - name: Extract Docker metadata id: meta - uses: docker/metadata-action@dbef88086f6cef02e264edb7dbf63250c17cef6c + uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 with: images: | ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} @@ -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@4976231911ebf5f32aad765192d35f942aa48cb8 with: context: . push: ${{ github.event_name != 'pull_request' }}