diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3171046..9e03ec5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,38 +1,38 @@ stages: - - "build:images" - - "push:images" + - 'build:images' + - 'push:images' variables: - DOCKER_HOST: "tcp://dockerd:2376" - DOCKER_TLS_SAN: "DNS:dockerd" - DOCKER_TLS_CERTDIR: "/certs" - DOCKER_DRIVER: "overlay2" + DOCKER_HOST: 'tcp://dockerd:2376' + DOCKER_TLS_SAN: 'DNS:dockerd' + DOCKER_TLS_CERTDIR: '/certs' + DOCKER_DRIVER: 'overlay2' default: - image: "docker.io/docker:stable" + image: 'docker.io/docker:stable' services: - - name: "docker.io/docker:dind" - alias: "dockerd" + - name: 'docker.io/docker:dind' + alias: 'dockerd' build:images: - stage: "build:images" + stage: 'build:images' before_script: - - "apk add --no-cache coreutils git make xz" + - 'apk add --no-cache coreutils git make xz' script: - - "make build-image save-image" + - 'make build-image save-image' artifacts: - expire_in: "1 day" + expire_in: '1 day' paths: - - "./dist/" + - './dist/' push:images: - stage: "push:images" + stage: 'push:images' dependencies: - - "build:images" + - 'build:images' only: - - "/^v[0-9]+$/" + - '/^v[0-9]+$/' before_script: - - "apk add --no-cache coreutils git make xz" - - "docker login -u \"${CI_REGISTRY_USER:?}\" -p \"${CI_REGISTRY_PASSWORD:?}\" \"${CI_REGISTRY:?}\"" + - 'apk add --no-cache coreutils git make xz' + - 'docker login -u "${CI_REGISTRY_USER:?}" -p "${CI_REGISTRY_PASSWORD:?}" "${CI_REGISTRY:?}"' script: - - "make load-image push-image" + - 'make load-image push-image'