diff --git a/.github/workflows/base-image.yml b/.github/workflows/base-image.yml index e0205110..d97e7a74 100644 --- a/.github/workflows/base-image.yml +++ b/.github/workflows/base-image.yml @@ -67,7 +67,7 @@ jobs: with: context: . file: ./docker/DispatcharrBase - push: ${{ github.event_name != 'pull_request' }} + push: true platforms: linux/amd64,linux/arm64 tags: | ghcr.io/${{ steps.meta.outputs.repo_owner }}/${{ steps.meta.outputs.repo_name }}:base diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 655dac15..ce311d8c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -87,13 +87,13 @@ jobs: echo "is_fork=true" >> $GITHUB_OUTPUT else echo "is_fork=false" >> $GITHUB_OUTPUT - fi - name: Build and push Docker image uses: docker/build-push-action@v4 with: context: . push: ${{ github.event_name != 'pull_request' }} + outputs: type=registry,name=ghcr.io/${{ steps.meta.outputs.repo_owner }}/${{ steps.meta.outputs.repo_name }} platforms: linux/amd64 # Fast build - amd64 only tags: | ghcr.io/${{ steps.meta.outputs.repo_owner }}/${{ steps.meta.outputs.repo_name }}:${{ steps.meta.outputs.branch_tag }}