Skip to content

Commit

Permalink
Merge branch 'master' of github.com:nolim1t/docker-lnd-neutrino-switc…
Browse files Browse the repository at this point in the history
…h into master
  • Loading branch information
nolim1t committed Oct 1, 2020
2 parents 79d327c + 939a9e3 commit 099703a
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image: debian:buster-slim
image: jdrouet/docker-with-buildx:stable

variables:
DOCKER_HOST: tcp://docker:2375/
Expand All @@ -7,17 +7,12 @@ variables:
services:
- docker:dind

before_script:
- apt update && apt install -y docker.io curl qemu-user-static
- curl -L --output /docker-buildx "https://github.com/docker/buildx/releases/download/v0.3.1/buildx-v0.3.1.linux-amd64"
- chmod a+x /docker-buildx
- mkdir -p /usr/lib/docker/cli-plugins/
- cp /docker-buildx /usr/lib/docker/cli-plugins/docker-buildx
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker buildx create --use

build:
stage: build
script:
- docker buildx build --platform linux/arm64/v8,linux/amd64 --tag $CI_REGISTRY_IMAGE:$DOCKER_ENV_CI_COMMIT_REF_SLUG .
- apk add qemu
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker buildx create --use
- docker info
- docker buildx build --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag $CI_REGISTRY_IMAGE:$DOCKER_ENV_CI_COMMIT_REF_SLUG .

0 comments on commit 099703a

Please sign in to comment.