From 4242c38caac66d1b13b68b288603fb3b2cab33b3 Mon Sep 17 00:00:00 2001 From: STAM Date: Tue, 24 Nov 2020 01:13:32 +0300 Subject: [PATCH] github actions --- .github/workflows/docker-main-images.yml | 30 ++++++++++++++++-- .travis.yml | 40 ------------------------ 2 files changed, 27 insertions(+), 43 deletions(-) diff --git a/.github/workflows/docker-main-images.yml b/.github/workflows/docker-main-images.yml index 39c84ebba..269a5f3d4 100644 --- a/.github/workflows/docker-main-images.yml +++ b/.github/workflows/docker-main-images.yml @@ -21,10 +21,34 @@ jobs: steps: - uses: actions/checkout@v2 - name: Log into registry - #echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin - run: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin + run: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin - name: Build Zabbix Agent run: docker build --compress -t epicmorg/zabbix-agent:latest zabbix/agent - name: Push Zabbix Agent - run: docker push epicmorg/zabbix-agent:latest + run: docker push epicmorg/zabbix-agent:latest + + - name: Build Zabbix Java Gateway + run: docker build --compress -t epicmorg/zabbix-java-gateway:latest zabbix/java-gateway + - name: Push Zabbix Java Gateway + run: docker push epicmorg/zabbix-java-gateway:latest + + - name: Build Zabbix Server with MySQL + run: docker build --compress -t epicmorg/zabbix-server-mysql:latest zabbix/server + - name: Push Zabbix Server with MySQL + run: docker push epicmorg/zabbix-server-mysql:latest + + - name: Build Zabbix Web Apache2 with MySQL + run: docker build --compress -t epicmorg/zabbix-web-apache-mysql:latest zabbix/web + - name: Push Zabbix Web Apache2 with MySQL + run: docker push epicmorg/zabbix-web-apache-mysql:latest + + - name: Build Zabbix Proxy SQLite3 + run: docker build --compress -t epicmorg/zabbix-proxy-sqlite3:latest zabbix/proxy + - name: Push Zabbix Proxy SQLite3 + run: docker push epicmorg/zabbix-proxy-sqlite3:latest + + - name: Build NextCloud (latest) + run: docker build --compress -t epicmorg/nextcloud:latest nextcloud/latest + - name: Push NextCloud (latest) + run: docker push epicmorg/nextcloud:latest diff --git a/.travis.yml b/.travis.yml index 5d66ae7a5..e3fc6a63e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,47 +9,7 @@ addons: - docker-ce matrix: include: -######################################### -#### Forked and fixed images -######################################### - - name: Zabbix Agent - script: - - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - - docker build --compress -t epicmorg/zabbix-agent:latest zabbix/agent - - docker push epicmorg/zabbix-agent:latest - - name: Zabbix Java Gateway - script: - - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - - docker build --compress -t epicmorg/zabbix-java-gateway:latest zabbix/java-gateway - - docker push epicmorg/zabbix-java-gateway:latest - - - name: Zabbix Server with MySQL - script: - - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - - docker build --compress -t epicmorg/zabbix-server-mysql:latest zabbix/server - - docker push epicmorg/zabbix-server-mysql:latest - - - name: Zabbix Web Apache2 with MySQL - script: - - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - - docker build --compress -t epicmorg/zabbix-web-apache-mysql:latest zabbix/web - - docker push epicmorg/zabbix-web-apache-mysql:latest - - - name: Zabbix Proxy SQLite3 - script: - - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - - docker build --compress -t epicmorg/zabbix-proxy-sqlite3:latest zabbix/proxy - - docker push epicmorg/zabbix-proxy-sqlite3:latest - -########## - - - name: NextCloud (latest) - script: - - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - - docker build --compress -t epicmorg/nextcloud:latest nextcloud/latest - - docker push epicmorg/nextcloud:latest - ######################################### #### Our High priority images #########################################