Merge "Prune docker images after docker-compose up"
This commit is contained in:
commit
157ad6d521
@ -45,6 +45,9 @@
|
||||
shell:
|
||||
cmd: docker-compose up -d --timeout 60
|
||||
chdir: /etc/gitea-docker/
|
||||
- name: Run docker prune to cleanup unneeded images
|
||||
shell:
|
||||
cmd: docker image prune -f
|
||||
- name: Check if root user exists
|
||||
uri:
|
||||
url: "https://localhost:3000/api/v1/users/root"
|
||||
|
@ -32,3 +32,6 @@
|
||||
shell:
|
||||
cmd: docker-compose up -d
|
||||
chdir: /etc/haproxy-docker/
|
||||
- name: Run docker prune to cleanup unneeded images
|
||||
shell:
|
||||
cmd: docker image prune -f
|
||||
|
@ -49,6 +49,9 @@
|
||||
shell:
|
||||
cmd: docker-compose up -d
|
||||
chdir: /etc/registry-docker/
|
||||
- name: Run docker prune to cleanup unneeded images
|
||||
shell:
|
||||
cmd: docker image prune -f
|
||||
|
||||
- name: Install cron to garbage collect the registry daily
|
||||
cron:
|
||||
|
@ -15,3 +15,6 @@
|
||||
shell:
|
||||
cmd: docker-compose up -d
|
||||
chdir: /etc/zuul-preview-docker/
|
||||
- name: Run docker prune to cleanup unneeded images
|
||||
shell:
|
||||
cmd: docker image prune -f
|
||||
|
Loading…
Reference in New Issue
Block a user