docker-scripts/.github/workflows/epicmorg.advanced.images.yml

37 lines
988 B
YAML
Raw Normal View History

2022-09-10 22:12:51 +03:00
name: EpicMorg Advanced Images
2022-09-09 19:03:45 +03:00
on:
2024-11-27 13:54:14 +03:00
workflow_dispatch:
2022-09-09 19:03:45 +03:00
schedule:
2024-08-25 21:24:33 +03:00
- cron: '0 02 * * 2,4,6'
2022-09-09 19:03:45 +03:00
jobs:
build-images:
2024-08-25 21:24:33 +03:00
name: EpicMorg Advanced Images
runs-on: ubuntu-24.04
2022-09-09 19:03:45 +03:00
steps:
2024-02-10 00:44:19 +03:00
- uses: actions/checkout@v4
2022-09-09 19:03:45 +03:00
- 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: Install requirements.txt
run: make pip
2022-09-09 19:03:45 +03:00
- 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/latest && pwd && make build && make deploy
2022-09-09 19:03:45 +03:00
2022-09-10 22:12:51 +03:00
##################################################################################
- name: Cleanup
run: make docker-clean
2024-08-25 21:24:33 +03:00
##################################################################################