docker-scripts/.github/workflows/epicmorg.advanced.images.yml
2022-10-16 14:35:24 +03:00

39 lines
1.1 KiB
YAML

name: EpicMorg Advanced Images
on:
# push:
# branches:
# - 'master'
schedule:
- cron: '0 0 * * 2,4,6'
jobs:
build-images:
name: Build EpicMorg Advanced Images
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Log into registry
run: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin
- name: Test Make
run: make
##################################################################################
- name: "Build and Deploy Advanced Mattermost Images:"
run: cd linux/advanced/mattermost && pwd && make build && make deploy
- name: "Build and Deploy Advanced Teamcity Server Image:"
run: cd linux/advanced/teamcity/server && pwd && make build && make deploy
- name: "Build and Deploy Advanced Redash Images:"
run: cd linux/advanced/redash && pwd && make sync && make patch && make build && make deploy
##################################################################################
- name: Cleanup
run: make docker-clean