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

216 lines
8.0 KiB
YAML

name: EpicMorg Debian 6 Images
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 1,3,5'
jobs:
build-06-images:
name: Build EpicMorg Debian 6 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 Debian 6 slim Image:"
run: cd linux/ecosystem/epicmorg/debian/06-squeeze/slim && pwd && make build && make deploy
- name: "Build and Deploy Debian 6 main Image:"
run: cd linux/ecosystem/epicmorg/debian/06-squeeze/main && pwd && make build && make deploy
- name: "Build and Deploy Debian 6 develop Image:"
run: cd linux/ecosystem/epicmorg/debian/06-squeeze/develop && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make clean
##################################################################################
build-06-node-images:
name: Build EpicMorg Debian 6 Node Images
runs-on: [ ubuntu-24.04 ]
needs: build-06-images
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 Debian 6 NodeJS 0.12 Image:"
run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node0.12 && pwd && make build && make deploy
- name: "Build and Deploy Debian 6 NodeJS 4 Image:"
run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node4 && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make clean
##################################################################################
- name: "Build and Deploy Debian 6 NodeJS 5 Image:"
run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node5 && pwd && make build && make deploy
- name: "Build and Deploy Debian 6 NodeJS 6 Image:"
run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node6 && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make clean
##################################################################################
- name: "Build and Deploy Debian 6 NodeJS 7 Image:"
run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node7 && pwd && make build && make deploy
- name: "Build and Deploy Debian 6 NodeJS 8 Image:"
run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node8 && pwd && make build && make deploy
- name: "Build and Deploy Debian 6 NodeJS 9 Image:"
run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node9 && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make clean
##################################################################################
- name: "Build and Deploy Debian 6 NodeJS 10 Image:"
run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node10 && pwd && make build && make deploy
- name: "Build and Deploy Debian 6 NodeJS 11 Image:"
run: cd linux/ecosystem/epicmorg/debian/06-squeeze/nodejs/node11 && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make clean
##################################################################################
build-06-jdk-images:
name: Build EpicMorg Debian 6 JDK Images
runs-on: [ ubuntu-24.04 ]
needs: build-06-node-images
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 Debian 6 jdk6 Image:"
run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk6 && pwd && make build && make deploy
- name: "Build and Deploy Debian 6 jdk7 Image:"
run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk7 && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make clean
##################################################################################
- name: "Build and Deploy Debian 6 jdk8 Image:"
run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk8 && pwd && make build && make deploy
- name: "Build and Deploy Debian 6 jdk11 Image:"
run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk11 && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make clean
##################################################################################
- name: "Build and Deploy Debian 6 jdk16 Image:"
run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk16 && pwd && make build && make deploy
- name: "Build and Deploy Debian 6 jdk17 Image:"
run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk17 && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make clean
##################################################################################
- name: "Build and Deploy Debian 6 jdk18 Image:"
run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk18 && pwd && make build && make deploy
- name: "Build and Deploy Debian 6 jdk19 Image:"
run: cd linux/ecosystem/epicmorg/debian/06-squeeze/jdk/jdk19 && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make clean
##################################################################################