docker-scripts/.github/workflows/docker-linux-develop.yml

304 lines
11 KiB
YAML
Raw Normal View History

2021-04-01 13:31:53 +03:00
name: develop
2020-11-24 02:51:55 +03:00
on:
pull_request:
branches:
- '*'
tags:
- '*'
push:
branches:
- 'develop'
jobs:
2020-11-25 16:19:53 +03:00
build-forked-fixed-independed-images:
name: Forked and fixed independed images
2020-11-24 02:51:55 +03:00
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Log into registry
run: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin
##########
- name: Build Zabbix Agent
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/zabbix-agent:latest linux/zabbix/agent
2020-11-24 02:51:55 +03:00
- name: Build Zabbix Java Gateway
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/zabbix-java-gateway:latest linux/zabbix/java-gateway
2020-11-24 02:51:55 +03:00
- name: Build Zabbix Server with MySQL
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/zabbix-server-mysql:latest linux/zabbix/server
2020-11-24 02:51:55 +03:00
- name: Build Zabbix Web Apache2 with MySQL
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/zabbix-web-apache-mysql:latest linux/zabbix/web
2020-11-24 02:51:55 +03:00
- name: Build Zabbix Proxy SQLite3
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/zabbix-proxy-sqlite3:latest linux/zabbix/proxy
2020-11-24 02:51:55 +03:00
2021-04-01 12:32:05 +03:00
2020-11-24 02:51:55 +03:00
- name: Build NextCloud (latest)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/nextcloud:latest linux/nextcloud/latest
2020-11-24 02:51:55 +03:00
2020-11-24 16:19:52 +03:00
- name: Build TeamCity Server (latest)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/teamcity-server:latest linux/teamcity/server
2020-11-24 16:19:52 +03:00
2021-04-01 12:32:05 +03:00
- name: Cleanup
run: docker system prune --all --force --volumes
2020-11-25 16:19:53 +03:00
- name: Build NextCloud (14)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/nextcloud:14 linux/nextcloud/14
2020-11-25 16:19:53 +03:00
- name: Build NextCloud (15)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/nextcloud:15 linux/nextcloud/15
2020-11-25 16:19:53 +03:00
- name: Build NextCloud (16)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/nextcloud:16 linux/nextcloud/16
2020-11-25 16:19:53 +03:00
- name: Build NextCloud (17)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/nextcloud:17 linux/nextcloud/17
2020-11-25 16:19:53 +03:00
- name: Build NextCloud (18)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/nextcloud:18 linux/nextcloud/18
2020-11-25 16:19:53 +03:00
- name: Build NextCloud (19)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/nextcloud:19 linux/nextcloud/19
2020-11-25 16:19:53 +03:00
- name: Build NextCloud (20)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/nextcloud:20 linux/nextcloud/20
2020-11-25 16:19:53 +03:00
2021-03-11 01:46:37 +03:00
- name: Build NextCloud (21)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/nextcloud:21 linux/nextcloud/21
2021-03-11 01:46:37 +03:00
2021-04-01 12:32:05 +03:00
- name: Cleanup
run: docker system prune --all --force --volumes
2020-11-25 16:19:53 +03:00
######################################################################################################################################################
2020-11-24 02:51:55 +03:00
#########################################
2020-11-25 16:19:53 +03:00
#### All images
2020-11-24 02:51:55 +03:00
#########################################
# - name: Build Template
# run: docker build --compress -t user/repo:tag path/to/folder/contains/dockerfile
2020-11-25 16:19:53 +03:00
build-all-iamges:
name: All images
2020-11-24 02:51:55 +03:00
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Log into registry
run: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin
##########
- name: Build Base Production
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/prod:latest linux/epicmorg/prod/main
2020-11-24 02:51:55 +03:00
- name: Build Base Production + JDK 6
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/prod:jdk6 linux/epicmorg/prod/jdk6
2020-11-24 02:51:55 +03:00
- name: Build Base Production + JDK 7
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/prod:jdk7 linux/epicmorg/prod/jdk7
2020-11-24 02:51:55 +03:00
- name: Build Base Production + JDK 8
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/prod:jdk8 linux/epicmorg/prod/jdk8
2020-11-24 02:51:55 +03:00
- name: Build Base Production + JDK 11
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/prod:jdk11 linux/epicmorg/prod/jdk11
2020-11-24 02:51:55 +03:00
2021-04-01 12:32:05 +03:00
- name: Cleanup
run: docker system prune --all --force --volumes
2020-11-24 02:51:55 +03:00
##########
- name: Build Base Edge
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/edge:latest linux/epicmorg/edge/main
2020-11-24 02:51:55 +03:00
- name: Build Base Edge + JDK 6
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/edge:jdk6 linux/epicmorg/edge/jdk6
2020-11-24 02:51:55 +03:00
- name: Build Base Edge + JDK 7
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/edge:jdk7 linux/epicmorg/edge/jdk7
2020-11-24 02:51:55 +03:00
- name: Build Base Edge + JDK 8
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/edge:jdk8 linux/epicmorg/edge/jdk8
2020-11-24 02:51:55 +03:00
- name: Build Base Edge + JDK 11
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/edge:jdk11 linux/epicmorg/edge/jdk11
2020-11-24 02:51:55 +03:00
2021-04-01 12:32:05 +03:00
- name: Cleanup
run: docker system prune --all --force --volumes
2020-11-24 02:51:55 +03:00
##########
- name: Build Base Develop
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/devel:latest linux/epicmorg/devel/main
2020-11-24 02:51:55 +03:00
- name: Build Base Develop + JDK 6
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/devel:jdk6 linux/epicmorg/devel/jdk6
2020-11-24 02:51:55 +03:00
- name: Build Base Develop + JDK 7
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/devel:jdk7 linux/epicmorg/devel/jdk7
2020-11-24 02:51:55 +03:00
- name: Build Base Develop + JDK 8
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/devel:jdk8 linux/epicmorg/devel/jdk8
2020-11-24 02:51:55 +03:00
- name: Build Base Develop + JDK 11
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/devel:jdk11 linux/epicmorg/devel/jdk11
2020-11-24 02:51:55 +03:00
2021-04-01 12:32:05 +03:00
- name: Cleanup
run: docker system prune --all --force --volumes
2020-11-24 02:51:55 +03:00
##########
2020-12-16 02:33:53 +03:00
- name: Build MatterMost (latest)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/mattermost-enterprise-edition:latest linux/mattermost/latest
2020-12-16 02:33:53 +03:00
2020-11-24 02:51:55 +03:00
- name: Build TeamCity Agent
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/teamcity-agent:latest linux/teamcity/agent
2020-11-24 02:51:55 +03:00
- name: Build NGinx (latest)
2021-04-01 13:39:49 +03:00
run: docker build --compress -t epicmorg/nginx:latest linux/nginx/latest
2020-11-24 02:51:55 +03:00
- name: Build NGinx + PHP7.4
2021-04-01 13:39:49 +03:00
run: docker build --compress -t epicmorg/nginx:php linux/nginx/php
2020-11-24 02:51:55 +03:00
- name: Build NGinx + RTMP-HLS
2021-04-01 13:39:49 +03:00
run: docker build --compress -t epicmorg/nginx:rtmp-hls linux/nginx/rtmp-hls
2020-11-24 02:51:55 +03:00
2021-04-01 12:32:05 +03:00
- name: Cleanup
run: docker system prune --all --force --volumes
2021-01-27 21:05:43 +03:00
- name: PHP (latest)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/php:latest linux/php/latest
2021-01-27 21:05:43 +03:00
- name: PHP 7.4
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/php:php7.4 linux/php/php7.4
2021-01-27 21:05:43 +03:00
2021-01-28 01:19:13 +03:00
- name: PHP 7.3
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/php:php7.3 linux/php/php7.3
2021-01-28 01:19:13 +03:00
2021-01-28 00:54:03 +03:00
- name: PHP 7.2
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/php:php7.2 linux/php/php7.2
2021-01-28 00:54:03 +03:00
2021-04-01 12:32:05 +03:00
- name: Cleanup
run: docker system prune --all --force --volumes
2020-11-24 02:51:55 +03:00
- name: Build Apache (latest)
2021-04-01 13:45:39 +03:00
run: docker build --compress -t epicmorg/apache2:latest linux/apache2/latest
2020-11-24 02:51:55 +03:00
- name: Build Apache + PHP7.4
2021-04-01 13:45:39 +03:00
run: docker build --compress -t epicmorg/apache2:php7.4 linux/apache2/php7.4
2020-11-24 02:51:55 +03:00
- name: Build Apache + PHP7.3
2021-04-01 13:45:39 +03:00
run: docker build --compress -t epicmorg/apache2:php7.3 linux/apache2/php7.3
2020-11-24 02:51:55 +03:00
- name: Build Apache + PHP7.2
2021-04-01 13:45:39 +03:00
run: docker build --compress -t epicmorg/apache2:php7.2 linux/apache2/php7.2
2020-11-24 02:51:55 +03:00
- name: Build Testrail (always latest)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/testrail:latest linux/testrail/latest
2020-11-24 02:51:55 +03:00
- name: Build PostgresSQL (latest)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/postgres:latest linux/postgres/latest
2020-11-24 02:51:55 +03:00
##########
- name: Build Bitbucket + JDK 8 (latest)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/bitbucket:latest linux/atlassian/bitbucket/latest
2020-11-24 02:51:55 +03:00
- name: Build Bitbucket + JDK 11 (latest-jdk11)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/bitbucket:latest-jdk11 -f linux/atlassian/bitbucket/latest/Dockerfile.jdk11 linux/atlassian/bitbucket/latest
2020-11-24 02:51:55 +03:00
- name: Build Confluence + JDK 8 (latest)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/confluence:latest linux/atlassian/confluence/latest
2020-11-24 02:51:55 +03:00
- name: Build Confluence + JDK 11 (latest-jdk11)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/confluence:latest-jdk11 -f linux/atlassian/confluence/latest/Dockerfile.jdk11 linux/atlassian/confluence/latest
2020-11-24 02:51:55 +03:00
2021-04-01 12:32:05 +03:00
- name: Cleanup
run: docker system prune --all --force --volumes
2020-11-24 02:51:55 +03:00
- name: Build Jira + JDK 8 (latest)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/jira:latest linux/atlassian/jira/latest
2020-11-24 02:51:55 +03:00
- name: Build Jira + JDK 11 (latest-jdk11)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/jira:latest-jdk11 -f linux/atlassian/jira/latest/Dockerfile.jdk11 linux/atlassian/jira/latest
2020-11-24 02:51:55 +03:00
- name: Build Fisheye + Crucible + JDK 8 (latest)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/fisheye-crucible:latest linux/atlassian/fisheye-crucible/latest
2020-11-24 02:51:55 +03:00
- name: Build Postgres (latest)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/postgres:latest linux/postgres/latest
2020-11-24 02:51:55 +03:00
2021-04-01 12:32:05 +03:00
- name: Cleanup
run: docker system prune --all --force --volumes
2020-11-24 02:51:55 +03:00
##########
- name: Build qBitTorrent (latest)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/qbittorrent:latest linux/qbittorrent/latest
2020-11-24 02:51:55 +03:00
- name: Build qBitTorrent (unstable)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/qbittorrent:unstable linux/qbittorrent/latest
2020-11-24 02:51:55 +03:00
- name: Build qBitTorrent (stable)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/qbittorrent:stable linux/qbittorrent/stable
2021-04-01 12:32:05 +03:00
- name: Cleanup
run: docker system prune --all --force --volumes
2020-11-24 02:51:55 +03:00
#########################################
2020-11-25 16:19:53 +03:00
#### secondary images and backports
2020-11-24 02:51:55 +03:00
#########################################
- name: Build vk2discord (latest)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/vk2discord:latest linux/vk2discord/latest
2020-11-25 15:48:25 +03:00
- name: Build PostgresSQL (8.2)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/postgres:8.2 linux/postgres/8.2
2020-11-25 15:48:25 +03:00
- name: Build PostgresSQL (8.3)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/postgres:8.3 linux/postgres/8.3
2020-11-25 15:48:25 +03:00
- name: Build PostgresSQL (8.4)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/postgres:8.4 linux/postgres/8.4
2020-11-25 15:48:25 +03:00
- name: Build PostgresSQL (9.0)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/postgres:9.0 linux/postgres/9.0
2020-11-25 15:48:25 +03:00
- name: Build PostgresSQL (9.1)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/postgres:9.1 linux/postgres/9.1
2020-11-25 15:48:25 +03:00
- name: Build PostgresSQL (9.2)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/postgres:9.2 linux/postgres/9.2
2021-04-01 12:32:05 +03:00
- name: Cleanup
run: docker system prune --all --force --volumes
2020-11-25 15:48:25 +03:00
- name: Build PostgresSQL (9.3)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/postgres:9.3 linux/postgres/9.3
2020-11-25 15:48:25 +03:00
- name: Build PostgresSQL (9.4)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/postgres:9.4 linux/postgres/9.4
2020-11-25 15:48:25 +03:00
- name: Build PostgresSQL (9.5)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/postgres:9.5 linux/postgres/9.5
2020-11-25 15:48:25 +03:00
- name: Build PostgresSQL (9.6)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/postgres:9.6 linux/postgres/9.6
2020-11-25 15:48:25 +03:00
- name: Build PostgresSQL (10)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/postgres:10 linux/postgres/10
2020-11-25 15:48:25 +03:00
- name: Build PostgresSQL (11)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/postgres:11 linux/postgres/11
2020-11-25 15:48:25 +03:00
- name: Build PostgresSQL (12)
2021-04-01 12:28:53 +03:00
run: docker build --compress -t epicmorg/postgres:12 linux/postgres/12
2021-04-01 12:32:05 +03:00
- name: Cleanup
run: docker system prune --all --force --volumes