Commit d54ae166 authored by Matthew Gall's avatar Matthew Gall

Initial commit of .gitlab-ci.yml

parent bf3fe976
Pipeline #29969 failed with stage
in 1 minute and 34 seconds
variables:
DOCKER_HOST: tcp://docker:2375/
DOCKER_TLS_CERTDIR: ""
build:
image: jonoh/docker-buildx-qemu:latest
stage: build
services:
- docker:dind
before_script:
- docker login -u "$DOCKER_USERNAME" -p "$DOCKER_TOKEN"
- update-binfmts --enable
- docker buildx create --driver docker-container --use
- docker buildx inspect --bootstrap
script:
- docker buildx build --platform linux/amd64,linux/arm64,linux/arm -t buildsociety/flarectl:latest --push .
only:
- master
build-tags:
image: jonoh/docker-buildx-qemu:latest
stage: build
services:
- docker:dind
before_script:
- docker login -u "$DOCKER_USERNAME" -p "$DOCKER_TOKEN"
- update-binfmts --enable
- docker buildx create --driver docker-container --use
- docker buildx inspect --bootstrap
script:
- docker buildx build --platform linux/amd64,linux/arm64,linux/arm -t buildsociety/flarectl:$CI_COMMIT_TAG --push .
only:
- tags
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment