docker-scripts/.github/workflows/epicmorg.advanced.images.yml
2024-02-10 00:44:19 +03:00

42 lines
1.2 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@v4
- 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 Sentry Image:"
run: cd linux/advanced/sentry/latest && 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