docker-scripts/.github/workflows/epicmorg.base.images.teamcity.agents.yml
2023-06-08 21:38:06 +03:00

106 lines
4.3 KiB
YAML

name: EpicMorg EcoSystem TeamCity Agents Images
on:
# push:
# branches:
# - 'master'
schedule:
- cron: '4 4 * * 2,4,6'
jobs:
build-tca-main-images:
name: Build EpicMorg TeamCity Agent Main 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 TeamCity Agent Main Image:"
run: cd linux/ecosystem/teamcity/agent/latest && pwd && make build && make deploy
##################################################################################
build-tca-other-images:
name: Build EpicMorg TeamCity Agent Oter Images
runs-on: ubuntu-22.04
needs: build-tca-main-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 TeamCity Agent amxX 1.9 SDK Image:"
run: cd linux/ecosystem/teamcity/agent/amxx-sdk/1.9 && pwd && make build && make deploy
- name: "Build and Deploy TeamCity Agent amxX 1.10 SDK Image:"
run: cd linux/ecosystem/teamcity/agent/amxx-sdk/1.10 && pwd && make build && make deploy
- name: "Build and Deploy TeamCity Agent Android SDK Image:"
run: cd linux/ecosystem/teamcity/agent/android-sdk && pwd && make build && make deploy
- name: "Build and Deploy TeamCity Agent Atlassian SDK Image:"
run: cd linux/ecosystem/teamcity/agent/atlassian-sdk && pwd && make build && make deploy
- name: "Build and Deploy TeamCity Agent dotNet SDK Image:"
run: cd linux/ecosystem/teamcity/agent/dotnet-sdk && pwd && make build && make deploy
- name: "Build and Deploy TeamCity Agent node10 Image:"
run: cd linux/ecosystem/teamcity/agent/node10 && pwd && make build && make deploy
- name: "Build and Deploy TeamCity Agent node12 Image:"
run: cd linux/ecosystem/teamcity/agent/node12 && pwd && make build && make deploy
- name: "Build and Deploy TeamCity Agent node14 Image:"
run: cd linux/ecosystem/teamcity/agent/node14 && pwd && make build && make deploy
- name: "Build and Deploy TeamCity Agent node15 Image:"
run: cd linux/ecosystem/teamcity/agent/node15 && pwd && make build && make deploy
- name: "Build and Deploy TeamCity Agent node16 Image:"
run: cd linux/ecosystem/teamcity/agent/node16 && pwd && make build && make deploy
- name: "Build and Deploy TeamCity Agent node17 Image:"
run: cd linux/ecosystem/teamcity/agent/node17 && pwd && make build && make deploy
- name: "Build and Deploy TeamCity Agent node18 Image:"
run: cd linux/ecosystem/teamcity/agent/node18 && pwd && make build && make deploy
- name: "Build and Deploy TeamCity Agent node19 Image:"
run: cd linux/ecosystem/teamcity/agent/node19 && pwd && make build && make deploy
- name: "Build and Deploy TeamCity Agent node20 Image:"
run: cd linux/ecosystem/teamcity/agent/node20 && pwd && make build && make deploy
- name: "Build and Deploy TeamCity Agent php7.2 Image:"
run: cd linux/ecosystem/teamcity/agent/php7.2 && pwd && make build && make deploy
- name: "Build and Deploy TeamCity Agent php7.3 Image:"
run: cd linux/ecosystem/teamcity/agent/php7.3 && pwd && make build && make deploy
- name: "Build and Deploy TeamCity Agent php7.4 Image:"
run: cd linux/ecosystem/teamcity/agent/php7.4 && pwd && make build && make deploy
- name: "Build and Deploy TeamCity Agent php8.0 Image:"
run: cd linux/ecosystem/teamcity/agent/php8.0 && pwd && make build && make deploy
- name: "Build and Deploy TeamCity Agent php8.1 Image:"
run: cd linux/ecosystem/teamcity/agent/php8.1 && pwd && make build && make deploy
- name: "Build and Deploy TeamCity Agent Steam SDK Image:"
run: cd linux/ecosystem/teamcity/agent/steam-sdk && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make docker-clean