added a cleanup rules in to develop

This commit is contained in:
STAM 2021-04-01 12:32:05 +03:00
parent 50da937f35
commit 1c4bb2c9c8

View File

@ -37,12 +37,16 @@ jobs:
- name: Build Zabbix Proxy SQLite3
run: docker build --compress -t epicmorg/zabbix-proxy-sqlite3:latest linux/zabbix/proxy
- name: Build NextCloud (latest)
run: docker build --compress -t epicmorg/nextcloud:latest linux/nextcloud/latest
- name: Build TeamCity Server (latest)
run: docker build --compress -t epicmorg/teamcity-server:latest linux/teamcity/server
- name: Cleanup
run: docker system prune --all --force --volumes
- name: Build NextCloud (14)
run: docker build --compress -t epicmorg/nextcloud:14 linux/nextcloud/14
@ -67,6 +71,9 @@ jobs:
- name: Build NextCloud (21)
run: docker build --compress -t epicmorg/nextcloud:21 linux/nextcloud/21
- name: Cleanup
run: docker system prune --all --force --volumes
######################################################################################################################################################
#########################################
@ -101,6 +108,9 @@ jobs:
- name: Build Base Production + JDK 11
run: docker build --compress -t epicmorg/prod:jdk11 linux/epicmorg/prod/jdk11
- name: Cleanup
run: docker system prune --all --force --volumes
##########
- name: Build Base Edge
@ -118,6 +128,9 @@ jobs:
- name: Build Base Edge + JDK 11
run: docker build --compress -t epicmorg/edge:jdk11 linux/epicmorg/edge/jdk11
- name: Cleanup
run: docker system prune --all --force --volumes
##########
- name: Build Base Develop
@ -135,6 +148,9 @@ jobs:
- name: Build Base Develop + JDK 11
run: docker build --compress -t epicmorg/devel:jdk11 linux/epicmorg/devel/jdk11
- name: Cleanup
run: docker system prune --all --force --volumes
##########
- name: Build MatterMost (latest)
@ -152,6 +168,9 @@ jobs:
- name: Build NGinx + RTMP-HLS
run: docker build --compress -t epicmorg/balancer:rtmp-hls linux/balancer/rtmp-hls
- name: Cleanup
run: docker system prune --all --force --volumes
- name: PHP (latest)
run: docker build --compress -t epicmorg/php:latest linux/php/latest
@ -164,6 +183,9 @@ jobs:
- name: PHP 7.2
run: docker build --compress -t epicmorg/php:php7.2 linux/php/php7.2
- name: Cleanup
run: docker system prune --all --force --volumes
- name: Build Apache (latest)
run: docker build --compress -t epicmorg/websites:latest linux/websites/latest
@ -196,6 +218,9 @@ jobs:
- name: Build Confluence + JDK 11 (latest-jdk11)
run: docker build --compress -t epicmorg/confluence:latest-jdk11 -f linux/atlassian/confluence/latest/Dockerfile.jdk11 linux/atlassian/confluence/latest
- name: Cleanup
run: docker system prune --all --force --volumes
- name: Build Jira + JDK 8 (latest)
run: docker build --compress -t epicmorg/jira:latest linux/atlassian/jira/latest
@ -208,6 +233,9 @@ jobs:
- name: Build Postgres (latest)
run: docker build --compress -t epicmorg/postgres:latest linux/postgres/latest
- name: Cleanup
run: docker system prune --all --force --volumes
##########
- name: Build qBitTorrent (latest)
@ -218,6 +246,9 @@ jobs:
- name: Build qBitTorrent (stable)
run: docker build --compress -t epicmorg/qbittorrent:stable linux/qbittorrent/stable
- name: Cleanup
run: docker system prune --all --force --volumes
#########################################
#### secondary images and backports
@ -243,6 +274,9 @@ jobs:
- name: Build PostgresSQL (9.2)
run: docker build --compress -t epicmorg/postgres:9.2 linux/postgres/9.2
- name: Cleanup
run: docker system prune --all --force --volumes
- name: Build PostgresSQL (9.3)
run: docker build --compress -t epicmorg/postgres:9.3 linux/postgres/9.3
@ -264,3 +298,6 @@ jobs:
- name: Build PostgresSQL (12)
run: docker build --compress -t epicmorg/postgres:12 linux/postgres/12
- name: Cleanup
run: docker system prune --all --force --volumes