From 8791430ab33ad831284bd605c0a0a29f5b95d1fa Mon Sep 17 00:00:00 2001 From: simojenki Date: Sat, 20 Sep 2025 22:36:33 +0700 Subject: [PATCH] Push PR images to registries --- .github/workflows/ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 56a95ea..0df1d62 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,21 +47,19 @@ jobs: - name: Docker meta id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: | simojenki/bonob ghcr.io/simojenki/bonob - name: Login to DockerHub - if: github.event_name != 'pull_request' uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Log in to GitHub Container registry - if: github.event_name != 'pull_request' uses: docker/login-action@v2 with: registry: ghcr.io @@ -73,6 +71,5 @@ jobs: with: context: . platforms: linux/amd64,linux/arm/v7,linux/arm64 - push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}