We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d5673a commit 9e2d8fdCopy full SHA for 9e2d8fd
.gitlab-ci.yml
@@ -12,14 +12,15 @@
12
13
docker-build:
14
# Use the official docker image.
15
- image: docker:cli
+ image: docker:latest
16
stage: build
17
services:
18
- docker:dind
19
variables:
20
DOCKER_IMAGE_NAME: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
21
before_script:
22
- - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
+ - echo "$CI_REGISTRY_PASSWORD" | docker login -u "$CI_REGISTRY_USER" --password-stdin $CI_REGISTRY
23
+ - docker run --privileged --rm tonistiigi/binfmt --install all
24
# All branches are tagged with $DOCKER_IMAGE_NAME (defaults to commit ref slug)
25
# Default branch is also tagged with `latest`
26
script:
0 commit comments