Skip to content
Snippets Groups Projects
Commit 6e2a5c27 authored by Recolic's avatar Recolic :house_with_garden:
Browse files

Merge branch 'dind-test2' into 'master'

Add gitlab pipeline for docker image weekly build

See merge request !2
parents 9b91d046 1d1c558d
No related branches found
No related tags found
1 merge request!2Add gitlab pipeline for docker image weekly build
Pipeline #917 passed with stage
in 4 minutes and 28 seconds
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_HOST: tcp://docker:2375
DOCKER_TLS_CERTDIR: "" # not to start over tls
build:
stage: build
script:
- docker login -u recolic -p "$docker_pswd"
- cd docker-pikaur/ && docker build -t recolic/pikaur .
- docker push recolic/pikaur
#!/bin/bash
pacman -Sy --noconfirm git pyalpm python-commonmark python-pip python-build python-installer python-setuptools python-markdown-it-py &&
pacman -Sy --noconfirm git pyalpm python-commonmark python-pip python-build python-installer python-setuptools python-markdown-it-py python-hatchling &&
git clone https://aur.archlinux.org/pikaur.git &&
chmod 777 -R pikaur &&
cd pikaur &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment