diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eed731f..677a3f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -103,7 +103,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 != '' }} @@ -112,7 +112,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 59e0819..592a0fb 100644 --- a/.github/workflows/docker-push.yml +++ b/.github/workflows/docker-push.yml @@ -35,13 +35,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 }}