This commit is contained in:
cupcakearmy
2019-12-22 19:59:57 +01:00
parent 136ac20101
commit 0a0a38d9db
20 changed files with 169 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
version: '3.7'
services:
registry:
image: registry
container_name: registry
ports:
- 5000:5000
volumes:
- ./htpasswd:/auth/htpasswd
environment:
- REGISTRY_AUTH=htpasswd
- REGISTRY_AUTH_HTPASSWD_REALM=Registry Realm
- REGISTRY_AUTH_HTPASSWD_PATH=/auth/htpasswd

View File

@@ -0,0 +1,2 @@
foo:$2y$05$dxXE5QaBKd5eV0gLBxFJtOJpAHKEusdZfPC2Ucssyg3s/2YjoRIXW

View File

@@ -0,0 +1,3 @@
FROM alpine:{{ version}}
CMD [ "echo", "Hi {{ name }} from {{ version }}" ]

View File

@@ -0,0 +1,20 @@
# Run docker-compose up before starting tumbo
variables:
version:
- 3.11
- 3.10
- 3.9
name:
- Alice
- Bob
recipe: ./simple.j2
push: yes
run: yes
parallel: no
registry:
username: foo
password: bar
host: localhost:5000