diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 217771eb..c2db7c5d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -162,7 +162,7 @@ jobs: if: ${{ github.event_name == 'pull_request' }} - name: Login to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 env: DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} if: ${{ github.event_name == 'pull_request' && env.DOCKERHUB_USERNAME != '' }} @@ -171,7 +171,7 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 if: ${{ github.event_name == 'pull_request' }} with: registry: ghcr.io diff --git a/.github/workflows/docker-push.yml b/.github/workflows/docker-push.yml index 4d33b6e1..bfe072df 100644 --- a/.github/workflows/docker-push.yml +++ b/.github/workflows/docker-push.yml @@ -37,13 +37,13 @@ jobs: fetch-depth: 0 - name: Login to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }}