diff --git a/.github/workflows/docker-publish-on-comment.yml b/.github/workflows/docker-publish-on-comment.yml index dc9043ec..d8e448b8 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@553b6f090f15b58451081ce157ff1929a266131d + uses: docker/login-action@cf8514a65188af1d4f94f8c28a7a4153af1088ce with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Log into Docker Hub registry ${{ env.REGISTRY }} - uses: docker/login-action@553b6f090f15b58451081ce157ff1929a266131d + uses: docker/login-action@cf8514a65188af1d4f94f8c28a7a4153af1088ce with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 48b85f45..a15a5403 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@553b6f090f15b58451081ce157ff1929a266131d + uses: docker/login-action@cf8514a65188af1d4f94f8c28a7a4153af1088ce 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@553b6f090f15b58451081ce157ff1929a266131d + uses: docker/login-action@cf8514a65188af1d4f94f8c28a7a4153af1088ce with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }}