diff --git a/.github/workflows/build-and-scan-PR-container.yml b/.github/workflows/build-and-scan-PR-container.yml index d166d00..e78a3af 100644 --- a/.github/workflows/build-and-scan-PR-container.yml +++ b/.github/workflows/build-and-scan-PR-container.yml @@ -32,7 +32,7 @@ jobs: run: cp /home/runner/.m2/settings.xml ./settings.xml - name: Log in to the Github Container registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d7b8647..7d4db07 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -36,14 +36,14 @@ jobs: uses: actions/checkout@v4 - name: Log in to the Github Container registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Login to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }}