mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2025-03-28 13:19:16 +03:00
45 lines
1.2 KiB
YAML
45 lines
1.2 KiB
YAML
name: EpicMorg experimental Images
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
# schedule:
|
|
# - cron: '0 01 * * 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 Sentry Image:"
|
|
run: cd linux/experimental/sentry/latest && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Advanced Redash Images:"
|
|
run: cd linux/experimental/redash && pwd && make sync && make patch && make build && make deploy
|
|
|
|
##################################################################################
|
|
|
|
- name: Cleanup
|
|
run: make docker-clean
|
|
|
|
##################################################################################
|