docker-scripts/.github/workflows/epicmorg.base.images.github.runners.yml
2025-04-22 00:26:54 +03:00

264 lines
10 KiB
YAML

name: EpicMorg EcoSystem Github Runner Images
on:
workflow_dispatch:
schedule:
- cron: '4 5 * * 2,4,6'
jobs:
build-glr-main-images:
name: Build EpicMorg GitHub Runner Main Images
runs-on: [ ubuntu-24.04 ]
steps:
- uses: actions/checkout@v4
- name: Log into docker registry
run: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin
- name: Log into Quay.IO registry
run: echo "${{ secrets.QUAY_SERVER_KEY }}" | docker login -u "${{ secrets.QUAY_SERVER_LOGIN }}" --password-stdin "${{ secrets.QUAY_SERVER_URL }}"
# - name: Log into harbor registry
# run: echo "${{ secrets.HARBOR_SERVER_KEY }}" | docker login -u "${{ secrets.HARBOR_SERVER_LOGIN }}" --password-stdin "${{ secrets.HARBOR_SERVER_URL }}"
- name: Check buildah
run: |
buildah --version
- name: Test Make
run: make
- name: Install requirements.txt
run: make pip
- name: "Build and Deploy GitHub Runner Minimal Image:"
run: cd linux/ecosystem/github/runner/minimal && pwd && make build && make deploy
- name: "Build and Deploy GitHub Runner Main Image:"
run: cd linux/ecosystem/github/runner/latest && pwd && make build && make deploy
###################################################################################
#
# build-glr-other-images:
# name: Build EpicMorg GitHub Runner Oter Images
# runs-on: [ ubuntu-24.04 ]
# needs: build-glr-main-images
#
# 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: Check buildah
# run: |
# buildah --version
# buildah info
#
# - name: Test Make
# run: make
#
- name: Install requirements.txt
run: make pip
#
# - name: "Build and Deploy GitHub Runner amxX 1.9 SDK Image:"
# run: cd linux/ecosystem/github/runner/amxx-sdk/1.9 && pwd && make build && make deploy
#
# - name: "Build and Deploy GitHub Runner amxX 1.10 SDK Image:"
# run: cd linux/ecosystem/github/runner/amxx-sdk/1.10 && pwd && make build && make deploy
#
###################################################################################
#
# - name: Cleanup
# run: make clean
#
###################################################################################
#
# - name: "Build and Deploy GitHub Runner Android SDK Image (jdk8):"
# run: cd linux/ecosystem/github/runner/android-sdk/jdk8 && pwd && make build && make deploy
#
###################################################################################
#
# - name: Cleanup
# run: make clean
#
###################################################################################
#
# - name: "Build and Deploy GitHub Runner Android SDK Image (jdk11):"
# run: cd linux/ecosystem/github/runner/android-sdk/jdk11 && pwd && make build && make deploy
#
###################################################################################
#
# - name: Cleanup
# run: make clean
#
###################################################################################
#
# - name: "Build and Deploy GitHub Runner Android SDK Image (jdk17):"
# run: cd linux/ecosystem/github/runner/android-sdk/jdk17 && pwd && make build && make deploy
#
###################################################################################
#
# - name: Cleanup
# run: make clean
#
###################################################################################
#
# - name: "Build and Deploy GitHub Runner Atlassian SDK Image:"
# run: cd linux/ecosystem/github/runner/atlassian-sdk && pwd && make build && make deploy
#
###################################################################################
#
# - name: Cleanup
# run: make clean
#
###################################################################################
#
# - name: "Build and Deploy GitHub Runner dotNet SDK Image:"
# run: cd linux/ecosystem/github/runner/dotnet-sdk && pwd && make build && make deploy
#
# - name: "Build and Deploy GitHub Runner node0.12 Image:"
# run: cd linux/ecosystem/github/runner/node0.12 && pwd && make build && make deploy
#
# - name: "Build and Deploy GitHub Runner node4 Image:"
# run: cd linux/ecosystem/github/runner/node4 && pwd && make build && make deploy
#
###################################################################################
#
# - name: Cleanup
# run: make clean
#
###################################################################################
##
## - name: "Build and Deploy GitHub Runner node5 Image:"
## run: cd linux/ecosystem/github/runner/node5 && pwd && make build && make deploy
##
## - name: "Build and Deploy GitHub Runner node6 Image:"
## run: cd linux/ecosystem/github/runner/node6 && pwd && make build && make deploy
##
## - name: "Build and Deploy GitHub Runner node7 Image:"
## run: cd linux/ecosystem/github/runner/node7 && pwd && make build && make deploy
##
## ##################################################################################
##
## - name: Cleanup
## run: make clean
##
## ##################################################################################
##
## - name: "Build and Deploy GitHub Runner node8 Image:"
## run: cd linux/ecosystem/github/runner/node8 && pwd && make build && make deploy
##
## - name: "Build and Deploy GitHub Runner node9 Image:"
## run: cd linux/ecosystem/github/runner/node9 && pwd && make build && make deploy
##
## - name: "Build and Deploy GitHub Runner node10 Image:"
## run: cd linux/ecosystem/github/runner/node10 && pwd && make build && make deploy
##
## ##################################################################################
##
## - name: Cleanup
## run: make clean
##
## ##################################################################################
##
## - name: "Build and Deploy GitHub Runner node11 Image:"
## run: cd linux/ecosystem/github/runner/node11 && pwd && make build && make deploy
##
## - name: "Build and Deploy GitHub Runner node12 Image:"
## run: cd linux/ecosystem/github/runner/node12 && pwd && make build && make deploy
##
## - name: "Build and Deploy GitHub Runner node13 Image:"
## run: cd linux/ecosystem/github/runner/node13 && pwd && make build && make deploy
##
## ##################################################################################
##
## - name: Cleanup
## run: make clean
##
## ##################################################################################
##
## - name: "Build and Deploy GitHub Runner node14 Image:"
## run: cd linux/ecosystem/github/runner/node14 && pwd && make build && make deploy
##
## - name: "Build and Deploy GitHub Runner node15 Image:"
## run: cd linux/ecosystem/github/runner/node15 && pwd && make build && make deploy
##
##
## ##################################################################################
##
## - name: Cleanup
## run: make clean
##
## ##################################################################################
##
## - name: "Build and Deploy GitHub Runner node16 Image:"
## run: cd linux/ecosystem/github/runner/node16 && pwd && make build && make deploy
##
## - name: "Build and Deploy GitHub Runner node17 Image:"
## run: cd linux/ecosystem/github/runner/node17 && pwd && make build && make deploy
##
## - name: "Build and Deploy GitHub Runner node18 Image:"
## run: cd linux/ecosystem/github/runner/node18 && pwd && make build && make deploy
##
## ##################################################################################
##
## - name: Cleanup
## run: make clean
##
## ##################################################################################
##
## - name: "Build and Deploy GitHub Runner node19 Image:"
## run: cd linux/ecosystem/github/runner/node19 && pwd && make build && make deploy
##
## - name: "Build and Deploy GitHub Runner node20 Image:"
## run: cd linux/ecosystem/github/runner/node20 && pwd && make build && make deploy
##
## - name: "Build and Deploy GitHub Runner node21 Image:"
## run: cd linux/ecosystem/github/runner/node21 && pwd && make build && make deploy
##
## - name: "Build and Deploy GitHub Runner node22 Image:"
## run: cd linux/ecosystem/github/runner/node22 && pwd && make build && make deploy
##
## ##################################################################################
##
## - name: Cleanup
## run: make clean
##
## ##################################################################################
##
## - name: "Build and Deploy GitHub Runner php7.2 Image:"
## run: cd linux/ecosystem/github/runner/php7.2 && pwd && make build && make deploy
##
## - name: "Build and Deploy GitHub Runner php7.3 Image:"
## run: cd linux/ecosystem/github/runner/php7.3 && pwd && make build && make deploy
##
## - name: "Build and Deploy GitHub Runner php7.4 Image:"
## run: cd linux/ecosystem/github/runner/php7.4 && pwd && make build && make deploy
##
##
## ##################################################################################
##
## - name: Cleanup
## run: make clean
##
## ##################################################################################
##
## - name: "Build and Deploy GitHub Runner php8.0 Image:"
## run: cd linux/ecosystem/github/runner/php8.0 && pwd && make build && make deploy
##
## - name: "Build and Deploy GitHub Runner php8.1 Image:"
## run: cd linux/ecosystem/github/runner/php8.1 && pwd && make build && make deploy
##
## - name: "Build and Deploy GitHub Runner php8.2 Image:"
## run: cd linux/ecosystem/github/runner/php8.2 && pwd && make build && make deploy
##
## - name: "Build and Deploy GitHub Runner php8.3 Image:"
## run: cd linux/ecosystem/github/runner/php8.3 && pwd && make build && make deploy
##
## - name: "Build and Deploy GitHub Runner Steam SDK Image:"
## run: cd linux/ecosystem/github/runner/steam-sdk && pwd && make build && make deploy
##
## ##################################################################################
#