From b83400b349af4a36c200113a88beba528cbb2b68 Mon Sep 17 00:00:00 2001 From: Nicolas Belouin Date: Thu, 2 Nov 2023 08:53:49 +0100 Subject: [PATCH] fixup! Use correct credentials to push images Signed-off-by: Nicolas Belouin --- .github/workflows/build-rust-containers.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-rust-containers.yml b/.github/workflows/build-rust-containers.yml index 00c3108d6..d5559af6a 100644 --- a/.github/workflows/build-rust-containers.yml +++ b/.github/workflows/build-rust-containers.yml @@ -140,6 +140,7 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry + if: github.event_name == 'push' || github.event_name == 'release' uses: docker/login-action@v3 with: registry: ghcr.io