From 95ebb13e6279f9ac844235f6259c67a383153be4 Mon Sep 17 00:00:00 2001 From: Recolic <git@me.recolic.net> Date: Sat, 5 Aug 2023 23:46:39 -0700 Subject: [PATCH] auto build --- .gitlab-ci.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .gitlab-ci.yaml diff --git a/.gitlab-ci.yaml b/.gitlab-ci.yaml new file mode 100644 index 0000000..5bf148b --- /dev/null +++ b/.gitlab-ci.yaml @@ -0,0 +1,28 @@ +default: + image: docker:20.10.16 + services: + - docker:20.10.16-dind + before_script: + - docker info + +variables: + # When you use the dind service, you must instruct Docker to talk with + # the daemon started inside of the service. The daemon is available + # with a network connection instead of the default + # /var/run/docker.sock socket. Docker 19.03 does this automatically + # by setting the DOCKER_HOST in + # https://github.com/docker-library/docker/blob/d45051476babc297257df490d22cbd806f1b11e4/19.03/docker-entrypoint.sh#L23-L29 + # + # The 'docker' hostname is the alias of the service container as described at + # https://docs.gitlab.com/ee/ci/services/#accessing-the-services. + # + # Specify to Docker where to create the certificates. Docker + # creates them automatically on boot, and creates + # `/certs/client` to share between the service and job + # container, thanks to volume mount from config.toml + DOCKER_TLS_CERTDIR: "/certs" + +build: + stage: build + script: + - cd docker-pikaur/ && docker build -t recolic/pikaur . -- GitLab