diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 0e447dc..657653e 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -49,7 +49,7 @@ jobs: type=semver,pattern=v{{version}} type=sha,prefix=,format=long, - - id: meta (forks) + - id: meta-forks if: github.repository != 'uswitch/vault-creds' uses: docker/metadata-action@v4 with: @@ -59,6 +59,7 @@ jobs: type=sha,prefix=,format=long, - uses: docker/build-push-action@v4 + if: github.repository == 'uswitch/vault-creds' with: context: . labels: ${{ steps.meta.outputs.labels }} @@ -66,3 +67,12 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} + - uses: docker/build-push-action@v4 + if: github.repository != 'uswitch/vault-creds' + with: + context: . + labels: ${{ steps.meta-forks.outputs.labels }} + platforms: linux/amd64,linux/arm64 + push: true + tags: ${{ steps.meta-forks.outputs.tags }} +