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

140 lines
4.8 KiB
YAML

name: EpicMorg EcoSystem PostgreSQL Images
on:
workflow_dispatch:
schedule:
- cron: '5 5 * * 1,3,5'
jobs:
build-pgsql-images:
name: Build EpicMorg PostgreSQL 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 PostgreSQL 8.2 Image:"
run: cd linux/ecosystem/postgres/8.2 && pwd && make build && make deploy
- name: "Build and Deploy PostgreSQL 8.3 Image:"
run: cd linux/ecosystem/postgres/8.3 && pwd && make build && make deploy
- name: "Build and Deploy PostgreSQL 8.4 Image:"
run: cd linux/ecosystem/postgres/8.4 && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make clean
##################################################################################
- name: "Build and Deploy PostgreSQL 9.0 Image:"
run: cd linux/ecosystem/postgres/9.0 && pwd && make build && make deploy
- name: "Build and Deploy PostgreSQL 9.1 Image:"
run: cd linux/ecosystem/postgres/9.1 && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make clean
##################################################################################
- name: "Build and Deploy PostgreSQL 9.2 Image:"
run: cd linux/ecosystem/postgres/9.2 && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make clean
##################################################################################
- name: "Build and Deploy PostgreSQL 9.3 Image:"
run: cd linux/ecosystem/postgres/9.3 && pwd && make build && make deploy
- name: "Build and Deploy PostgreSQL 9.4 Image:"
run: cd linux/ecosystem/postgres/9.4 && pwd && make build && make deploy
- name: "Build and Deploy PostgreSQL 9.5 Image:"
run: cd linux/ecosystem/postgres/9.5 && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make clean
##################################################################################
- name: "Build and Deploy PostgreSQL 9.6 Image:"
run: cd linux/ecosystem/postgres/9.6 && pwd && make build && make deploy
- name: "Build and Deploy PostgreSQL 10 Image:"
run: cd linux/ecosystem/postgres/10 && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make clean
##################################################################################
- name: "Build and Deploy PostgreSQL 11 Image:"
run: cd linux/ecosystem/postgres/11 && pwd && make build && make deploy
- name: "Build and Deploy PostgreSQL 12 Image:"
run: cd linux/ecosystem/postgres/12 && pwd && make build && make deploy
- name: "Build and Deploy PostgreSQL 13 Image:"
run: cd linux/ecosystem/postgres/13 && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make clean
##################################################################################
- name: "Build and Deploy PostgreSQL 14 Image:"
run: cd linux/ecosystem/postgres/14 && pwd && make build && make deploy
- name: "Build and Deploy PostgreSQL 15 Image:"
run: cd linux/ecosystem/postgres/15 && pwd && make build && make deploy
- name: "Build and Deploy PostgreSQL 16 Image:"
run: cd linux/ecosystem/postgres/16 && pwd && make build && make deploy
# - name: "Build and Deploy PostgreSQL 17 Image:"
# run: cd linux/ecosystem/postgres/17 && pwd && make build && make deploy
# - name: "Build and Deploy PostgreSQL 18 Image:"
# run: cd linux/ecosystem/postgres/18 && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make clean