fix: use correct docker buildx secret syntax
Some checks failed
Build & Deploy / 🔍 Prepare Environment (push) Successful in 6s
Build & Deploy / 🏗️ Build (push) Failing after 1m10s
Build & Deploy / 🧪 QA (push) Successful in 3m50s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / ⚡ PageSpeed (push) Has been skipped
Build & Deploy / 🔔 Notifications (push) Successful in 2s
Some checks failed
Build & Deploy / 🔍 Prepare Environment (push) Successful in 6s
Build & Deploy / 🏗️ Build (push) Failing after 1m10s
Build & Deploy / 🧪 QA (push) Successful in 3m50s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / ⚡ PageSpeed (push) Has been skipped
Build & Deploy / 🔔 Notifications (push) Successful in 2s
This commit is contained in:
@@ -196,10 +196,11 @@ jobs:
|
||||
- name: 🏗️ Build and Push
|
||||
shell: bash
|
||||
run: |
|
||||
export NPM_TOKEN=${{ secrets.NPM_TOKEN }}
|
||||
docker buildx build \
|
||||
--pull \
|
||||
--platform linux/arm64 \
|
||||
--secret id=NPM_TOKEN,value=${{ secrets.NPM_TOKEN }} \
|
||||
--secret id=NPM_TOKEN \
|
||||
--build-arg NEXT_PUBLIC_BASE_URL=${{ needs.prepare.outputs.next_public_base_url }} \
|
||||
--build-arg NEXT_PUBLIC_TARGET=${{ needs.prepare.outputs.target }} \
|
||||
--build-arg DIRECTUS_URL=${{ needs.prepare.outputs.directus_url }} \
|
||||
|
||||
Reference in New Issue
Block a user