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

45 lines
1.2 KiB
YAML

name: EpicMorg Advanced Images
on:
workflow_dispatch:
schedule:
- cron: '0 02 * * 2,4,6'
jobs:
build-images:
name: EpicMorg Advanced Images
runs-on: ubuntu-24.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: Install buildah
run: |
apt-get update
apt-get install -y buildah
buildah --version
echo 'unqualified-search-registries = ["docker.io"]' >> /etc/containers/registries.conf
buildah info
- name: Test Make
run: make
- name: Install requirements.txt
run: make pip
- 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
##################################################################################
- name: Cleanup
run: make docker-clean
##################################################################################