mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-26 22:55:44 +03:00
115 lines
4.5 KiB
YAML
115 lines
4.5 KiB
YAML
name: EpicMorg EcoSystem Perfocre Images
|
|
|
|
on:
|
|
# push:
|
|
# branches:
|
|
# - 'master'
|
|
schedule:
|
|
- cron: '4 4 * * 1,3,5'
|
|
|
|
jobs:
|
|
|
|
build-p4-images:
|
|
name: Build EpicMorg Perfocre Images
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- 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: "Build and Deploy Perfocre r16.2 Image:"
|
|
run: cd linux/ecosystem/perforce/base/r16.2 && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Perfocre r17.1 Image:"
|
|
run: cd linux/ecosystem/perforce/base/r17.1 && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Perfocre r17.2 Image:"
|
|
run: cd linux/ecosystem/perforce/base/r17.2 && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Perfocre r18.1 Image:"
|
|
run: cd linux/ecosystem/perforce/base/r18.1 && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Perfocre r18.2 Image:"
|
|
run: cd linux/ecosystem/perforce/base/r18.2 && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Perfocre r19.1 Image:"
|
|
run: cd linux/ecosystem/perforce/base/r19.1 && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Perfocre r19.2 Image:"
|
|
run: cd linux/ecosystem/perforce/base/r19.2 && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Perfocre r20.1 Image:"
|
|
run: cd linux/ecosystem/perforce/base/r20.1 && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Perfocre r20.2 Image:"
|
|
run: cd linux/ecosystem/perforce/base/r20.2 && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Perfocre r21.1 Image:"
|
|
run: cd linux/ecosystem/perforce/base/r21.1 && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Perfocre r21.2 Image:"
|
|
run: cd linux/ecosystem/perforce/base/r21.2 && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Perfocre r22.1 Image:"
|
|
run: cd linux/ecosystem/perforce/base/r22.1 && pwd && make build && make deploy
|
|
|
|
##################################################################################
|
|
|
|
build-p4p-images:
|
|
name: Build EpicMorg Perfocre Proxy Images
|
|
runs-on: ubuntu-22.04
|
|
needs: build-p4-images
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- 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: "Build and Deploy Perfocre Proxy r16.2 Image:"
|
|
run: cd linux/ecosystem/perforce/p4p/r16.2 && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Perfocre Proxy r17.1 Image:"
|
|
run: cd linux/ecosystem/perforce/p4p/r17.1 && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Perfocre Proxy r17.2 Image:"
|
|
run: cd linux/ecosystem/perforce/p4p/r17.2 && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Perfocre Proxy r18.1 Image:"
|
|
run: cd linux/ecosystem/perforce/p4p/r18.1 && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Perfocre Proxy r18.2 Image:"
|
|
run: cd linux/ecosystem/perforce/p4p/r18.2 && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Perfocre Proxy r19.1 Image:"
|
|
run: cd linux/ecosystem/perforce/p4p/r19.1 && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Perfocre Proxy r19.2 Image:"
|
|
run: cd linux/ecosystem/perforce/p4p/r19.2 && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Perfocre Proxy r20.1 Image:"
|
|
run: cd linux/ecosystem/perforce/p4p/r20.1 && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Perfocre Proxy r20.2 Image:"
|
|
run: cd linux/ecosystem/perforce/p4p/r20.2 && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Perfocre Proxy r21.1 Image:"
|
|
run: cd linux/ecosystem/perforce/p4p/r21.1 && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Perfocre Proxy r21.2 Image:"
|
|
run: cd linux/ecosystem/perforce/p4p/r21.2 && pwd && make build && make deploy
|
|
|
|
- name: "Build and Deploy Perfocre Proxy r22.1 Image:"
|
|
run: cd linux/ecosystem/perforce/p4p/r22.1 && pwd && make build && make deploy
|
|
|
|
##################################################################################
|
|
|
|
- name: Cleanup
|
|
run: make docker-clean
|