mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-26 22:55:44 +03:00
129 lines
4.4 KiB
YAML
129 lines
4.4 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 registry
|
|
run: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin
|
|
|
|
- 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 docker-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 docker-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 docker-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 docker-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 docker-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 docker-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 docker-clean
|