mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
ci: build cross-platform Alpine images
This commit is contained in:
parent
f4a43c9b47
commit
a67bb0728b
1 changed files with 4 additions and 1 deletions
|
@ -286,10 +286,13 @@ packaging:rpm:
|
|||
.packaging:docker: &packaging_docker
|
||||
stage: packaging
|
||||
image: docker:19.03
|
||||
script:
|
||||
before_script:
|
||||
- mkdir -p ~/.docker/cli-plugins/
|
||||
- wget -O ~/.docker/cli-plugins/docker-buildx https://github.com/docker/buildx/releases/download/v0.4.2/buildx-v0.4.2.linux-amd64
|
||||
- chmod a+x ~/.docker/cli-plugins/docker-buildx
|
||||
- docker buildx create --use --name cross-platform-build
|
||||
- docker buildx inspect --bootstrap cross-platform-build
|
||||
script:
|
||||
- docker buildx build
|
||||
--target app
|
||||
--platform ${PLATFORM}
|
||||
|
|
Loading…
Add table
Reference in a new issue