From 9b288b3fb918f93d75c537bd4ec95cff0a0535f1 Mon Sep 17 00:00:00 2001 From: Jonathan Perret Date: Wed, 24 Apr 2024 17:59:09 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A(ci)=20push=20images=20to=20docker?= =?UTF-8?q?=20hub=20for=20PR=20branches?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is useful for testing PRs before merging. --- .github/workflows/docker-hub.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/docker-hub.yml b/.github/workflows/docker-hub.yml index da43135..1b01cda 100644 --- a/.github/workflows/docker-hub.yml +++ b/.github/workflows/docker-hub.yml @@ -35,7 +35,6 @@ jobs: age-key: ${{ secrets.SOPS_PRIVATE }} - name: Login to DockerHub - if: github.event_name != 'pull_request' run: echo "$DOCKER_HUB_PASSWORD" | docker login -u "$DOCKER_HUB_USER" --password-stdin - name: Build and push @@ -43,7 +42,7 @@ jobs: with: context: . platforms: linux/amd64,linux/arm64 - push: ${{ github.event_name != 'pull_request' }} + push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}