Skip to content
This repository was archived by the owner on Oct 29, 2025. It is now read-only.

Commit 8ad97fe

Browse files
authored
enable arm64 test image push
1 parent 7ce2006 commit 8ad97fe

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

.github/workflows/docker-build-push-dockerhub-arm.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -176,24 +176,24 @@ jobs:
176176
NEXTAUTH_SECRET: 'EI4qqDpcfdvf4A+0aQEEx8JjHxHSy4uWiZw/F32K+pA='
177177
CALENDSO_ENCRYPTION_KEY: '0zfLtY99wjeLnsM7qsa8xsT+Q0oSgnOL'
178178

179-
# - name: Push image
180-
# id: docker_push
181-
# uses: docker/build-push-action@v6
182-
# with:
183-
# context: ./
184-
# file: ./Dockerfile
185-
# push: true
186-
# platforms: linux/amd64
187-
# tags: ${{ steps.meta.outputs.tags }}
188-
# labels: ${{ steps.meta.outputs.labels }}
189-
# build-args: |
190-
# NEXT_PUBLIC_WEBAPP_URL=${{ env.NEXT_PUBLIC_WEBAPP_URL }}
191-
# NEXT_PUBLIC_API_V2_URL=${{ env.NEXT_PUBLIC_API_V2_URL }}
192-
# NEXT_PUBLIC_LICENSE_CONSENT=${{ env.NEXT_PUBLIC_LICENSE_CONSENT }}
193-
# NEXT_PUBLIC_TELEMETRY_KEY=${{ env.NEXT_PUBLIC_TELEMETRY_KEY }}
194-
# DATABASE_URL=postgresql://${{ env.POSTGRES_USER }}:${{ env.POSTGRES_PASSWORD }}@${{ env.DATABASE_HOST }}/${{ env.POSTGRES_DB }}
195-
# DATABASE_DIRECT_URL=postgresql://${{ env.POSTGRES_USER }}:${{ env.POSTGRES_PASSWORD }}@${{ env.DATABASE_HOST }}/${{ env.POSTGRES_DB }}
196-
# if: ${{ !github.event.release.prerelease }}
179+
- name: Push image
180+
id: docker_push
181+
uses: docker/build-push-action@v6
182+
with:
183+
context: ./
184+
file: ./Dockerfile
185+
push: true
186+
platforms: arm64
187+
tags: ${{ steps.meta.outputs.tags }}
188+
labels: ${{ steps.meta.outputs.labels }}
189+
build-args: |
190+
NEXT_PUBLIC_WEBAPP_URL=${{ env.NEXT_PUBLIC_WEBAPP_URL }}
191+
NEXT_PUBLIC_API_V2_URL=${{ env.NEXT_PUBLIC_API_V2_URL }}
192+
NEXT_PUBLIC_LICENSE_CONSENT=${{ env.NEXT_PUBLIC_LICENSE_CONSENT }}
193+
NEXT_PUBLIC_TELEMETRY_KEY=${{ env.NEXT_PUBLIC_TELEMETRY_KEY }}
194+
DATABASE_URL=postgresql://${{ env.POSTGRES_USER }}:${{ env.POSTGRES_PASSWORD }}@${{ env.DATABASE_HOST }}/${{ env.POSTGRES_DB }}
195+
DATABASE_DIRECT_URL=postgresql://${{ env.POSTGRES_USER }}:${{ env.POSTGRES_PASSWORD }}@${{ env.DATABASE_HOST }}/${{ env.POSTGRES_DB }}
196+
if: ${{ !github.event.release.prerelease }}
197197

198198
- name: Image digest
199199
run: echo ${{ steps.docker_build.outputs.digest }}

0 commit comments

Comments
 (0)