only push to github if running on github
Some checks failed
App Image CI / Build app image (push) Failing after -1m48s
NPM Audit Check / Check NPM audit (push) Successful in -2m12s

This commit is contained in:
2025-10-09 19:00:57 -05:00
parent 8dece4fa83
commit fb473a1855

View File

@@ -47,6 +47,7 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKER_PASSWORD }}
- name: Login to GitHub Container Registry - name: Login to GitHub Container Registry
if: ${{ env.GITHUB_SERVER_URL == 'https://github.com' }}
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: ${{ env.GH_REGISTRY }} registry: ${{ env.GH_REGISTRY }}
@@ -94,7 +95,7 @@ jobs:
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:
target: deploy target: deploy
push: true push: ${{ env.GITHUB_SERVER_URL == 'https://github.com' }}
tags: ${{ steps.meta-develop.outputs.tags }} tags: ${{ steps.meta-develop.outputs.tags }}
labels: ${{ steps.meta-develop.outputs.labels }} labels: ${{ steps.meta-develop.outputs.labels }}
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64