From 2c91ee64b3b85da603f1e6c4c46162a84f27415f Mon Sep 17 00:00:00 2001 From: Augustin Husson Date: Wed, 4 Dec 2024 10:52:51 +0100 Subject: [PATCH] add login using podman Signed-off-by: Augustin Husson --- .github/workflows/ci.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ac417c0..70e8ba9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -43,6 +43,13 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Login with podman + uses: redhat-actions/podman-login@v1 + if: ${{ github.event_name == 'push' && (startsWith(github.ref_name, 'v') || github.ref_name == 'main') }} + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + registry: "docker.io" - name: install goreleaser uses: goreleaser/goreleaser-action@v6 with: