diff --git a/.github/workflows/public_docker_images.yml b/.github/workflows/public_docker_images.yml index 7d0c51f334..69159b0f3f 100644 --- a/.github/workflows/public_docker_images.yml +++ b/.github/workflows/public_docker_images.yml @@ -36,7 +36,7 @@ jobs: uses: actions/checkout@v6 - name: Log in to the Container registry - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -51,7 +51,7 @@ jobs: - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@v5 + uses: docker/metadata-action@v6 with: images: ${{ env.REGISTRY }}/${{ github.repository }} tags: | @@ -62,7 +62,7 @@ jobs: - name: Build Docker image id: build - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 with: context: . build-args: | @@ -79,7 +79,7 @@ jobs: - name: Push Docker image # Push only if the CI is not triggered by "PR on main" if: ${{ (github.ref == 'refs/heads/main' && github.event_name != 'pull_request') || (startsWith(github.ref, 'refs/tags') && github.event_name == 'push') }} - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 with: context: . build-args: |