feat(ci): build for arm64
ci/woodpecker/push/docker Pipeline failed Details
ci/woodpecker/push/build Pipeline failed Details

Jef Roosens 2023-12-30 16:59:47 +01:00
parent 8bdf52da0d
commit a84aaf7880
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,7 @@
matrix: matrix:
PLATFORM: PLATFORM:
- 'linux/amd64' - 'linux/amd64'
- 'linux/arm64'
platform: ${PLATFORM} platform: ${PLATFORM}
@ -34,7 +35,8 @@ pipeline:
commands: commands:
- apk add --no-cache minio-client - apk add --no-cache minio-client
- mcli alias set rb 'https://s3.rustybever.be' "$MINIO_ACCESS_KEY" "$MINIO_SECRET_KEY" - mcli alias set rb 'https://s3.rustybever.be' "$MINIO_ACCESS_KEY" "$MINIO_SECRET_KEY"
- mcli cp build/lander landerctl/build/landerctl "rb/lander/commits/$CI_COMMIT_SHA/" - mcli cp build/lander "rb/lander/commits/$CI_COMMIT_SHA/lander-$(echo '${PLATFORM}' | sed 's:/:-:g')"
- mcli cp build/landerctl "rb/lander/commits/$CI_COMMIT_SHA/landerctl-$(echo '${PLATFORM}' | sed 's:/:-:g')"
secrets: secrets:
- minio_access_key - minio_access_key
- minio_secret_key - minio_secret_key