forked from vieter-v/vieter
Attempt at building multi-platform builder
parent
b5d8e7120d
commit
3f9e9a82dc
|
@ -1,6 +1,7 @@
|
|||
# These checks already get performed on the feature branches
|
||||
branches:
|
||||
exclude: [ main, dev ]
|
||||
platform: linux/amd64
|
||||
|
||||
pipeline:
|
||||
vieter:
|
||||
|
|
|
@ -1,13 +1,15 @@
|
|||
branches: dev
|
||||
# branches: dev
|
||||
platform: linux/amd64
|
||||
|
||||
pipeline:
|
||||
publish:
|
||||
image: plugins/docker
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
secrets: [ docker_username, docker_password ]
|
||||
settings:
|
||||
repo: chewingbever/vlang
|
||||
tag: latest
|
||||
dockerfile: Dockerfile.builder
|
||||
platforms: [ linux/arm/v7, linux/arm64/v8, linux/amd64 ]
|
||||
when:
|
||||
event: push
|
||||
path: Dockerfile.builder
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# These checks already get performed on the feature branches
|
||||
branches:
|
||||
exclude: [ main, dev ]
|
||||
platform: linux/amd64
|
||||
|
||||
pipeline:
|
||||
lint:
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
branches: [main, dev]
|
||||
platform: linux/amd64
|
||||
|
||||
pipeline:
|
||||
dev:
|
||||
|
|
|
@ -8,9 +8,9 @@ ENV VVV /opt/vlang
|
|||
ENV PATH /opt/vlang:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||
ENV VFLAGS -cc gcc
|
||||
|
||||
RUN mkdir -p /opt/vlang && ln -s /opt/vlang/v /usr/bin/v
|
||||
|
||||
RUN apk --no-cache add \
|
||||
RUN mkdir -p /opt/vlang && \
|
||||
ln -s /opt/vlang/v /usr/bin/v && \
|
||||
apk --no-cache add \
|
||||
git make upx gcc bash \
|
||||
musl-dev \
|
||||
openssl-libs-static openssl-dev \
|
||||
|
|
Loading…
Reference in New Issue