diff --git a/.github/workflows/release-container.yaml b/.github/workflows/release-container.yaml index 28c5d14..681def5 100644 --- a/.github/workflows/release-container.yaml +++ b/.github/workflows/release-container.yaml @@ -151,7 +151,7 @@ jobs: sarif_file: 'trivy.sarif' - 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/schedule-trivy.yaml b/.github/workflows/schedule-trivy.yaml index 5063aa3..9b70528 100644 --- a/.github/workflows/schedule-trivy.yaml +++ b/.github/workflows/schedule-trivy.yaml @@ -76,7 +76,7 @@ jobs: output: 'trivy.cosign.json' - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }}