Fix directories in woodpecker file

This commit is contained in:
Elara 2023-09-26 15:33:53 -07:00
parent 185371b649
commit b4706d1d8a

View File

@ -2,7 +2,7 @@ platform: linux/amd64
steps: steps:
build-frontend: build-frontend:
image: gitea.elara.ws/elara6331/node image: gitea.elara.ws/elara6331/node
directory: lure-frontend directory: frontend
environment: environment:
- LURE_WEB_API_URL=https://api.lure.elara.ws - LURE_WEB_API_URL=https://api.lure.elara.ws
commands: commands:
@ -15,7 +15,7 @@ steps:
publish-frontend: publish-frontend:
image: gitea.elara.ws/elara6331/crane image: gitea.elara.ws/elara6331/crane
secrets: [ registry_password ] secrets: [ registry_password ]
directory: frontend
commands: commands:
- export HOME=/home/nonroot - export HOME=/home/nonroot
- crane auth login gitea.elara.ws -u Elara6331 -p "$${REGISTRY_PASSWORD}" - crane auth login gitea.elara.ws -u Elara6331 -p "$${REGISTRY_PASSWORD}"
@ -27,7 +27,7 @@ steps:
build-backend: build-backend:
image: gitea.elara.ws/elara6331/builder image: gitea.elara.ws/elara6331/builder
secrets: [ registry_password ] secrets: [ registry_password ]
directory: lure-backend directory: backend
commands: commands:
- registry-login - registry-login
- ko build -B --platform=linux/amd64,linux/arm64,linux/riscv64 --sbom=none - ko build -B --platform=linux/amd64,linux/arm64,linux/riscv64 --sbom=none