diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index 939466c4..b6391152 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -210,7 +210,7 @@ jobs: ###################### - name: Login to DockerHub if: ${{ github.repository == 'github/super-linter' && github.ref == 'refs/heads/main' }} - uses: docker/login-action@v1.14.1 + uses: docker/login-action@v2.0.0 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} @@ -220,7 +220,7 @@ jobs: #################### - name: Login to GitHub Container Registry if: ${{ github.repository == 'github/super-linter' && github.ref == 'refs/heads/main' }} - uses: docker/login-action@v1.14.1 + uses: docker/login-action@v2.0.0 with: registry: ghcr.io username: ${{ secrets.GCR_USERNAME }} diff --git a/.github/workflows/deploy-release.yml b/.github/workflows/deploy-release.yml index b7ce6cc7..679af3e1 100644 --- a/.github/workflows/deploy-release.yml +++ b/.github/workflows/deploy-release.yml @@ -76,7 +76,7 @@ jobs: # Login to DockerHub # ###################### - name: Login to DockerHub - uses: docker/login-action@v1.14.1 + uses: docker/login-action@v2.0.0 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} @@ -85,7 +85,7 @@ jobs: # Login to GHCR.io # #################### - name: Login to GitHub Container Registry - uses: docker/login-action@v1.14.1 + uses: docker/login-action@v2.0.0 with: registry: ghcr.io username: ${{ secrets.GCR_USERNAME }}