Switched to multi-platform build
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
parent
6f9d603bf5
commit
6ff3b518d8
|
@ -1,15 +1,20 @@
|
||||||
|
matrix:
|
||||||
|
PLATFORM:
|
||||||
|
- linux/amd64
|
||||||
|
- linux/arm64
|
||||||
|
|
||||||
branches: master
|
branches: master
|
||||||
platform: linux/amd64
|
platform: ${PLATFORM}
|
||||||
|
|
||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
build:
|
build:
|
||||||
image: 'archlinux:latest'
|
image: 'menci/archlinuxarm:base-devel'
|
||||||
commands:
|
commands:
|
||||||
# Update packages
|
# Update packages
|
||||||
- pacman -Syu --needed --noconfirm base-devel
|
- pacman -Syu --noconfirm
|
||||||
# Create non-root user to perform build & switch to their home
|
# Create non-root user to perform build & switch to their home
|
||||||
- groupadd -g 1000 builder
|
- groupadd -g 1000 builder
|
||||||
- useradd -mg builder builder
|
- useradd -mg builder builder
|
||||||
|
@ -23,6 +28,6 @@ pipeline:
|
||||||
image: 'archlinux:latest'
|
image: 'archlinux:latest'
|
||||||
commands:
|
commands:
|
||||||
# Publish the package
|
# Publish the package
|
||||||
- 'curl -s -XPOST -H "X-API-KEY: $API_KEY" -T "$(ls *.pkg*)" https://arch.r8r.be/publish'
|
- 'curl -s -XPOST -H "X-API-KEY: $API_KEY" -T "$(ls *.pkg*)" https://arch.r8r.be/jjr/publish'
|
||||||
secrets:
|
secrets:
|
||||||
- api_key
|
- api_key
|
||||||
|
|
Loading…
Reference in New Issue