docker-scripts/.github/workflows/epicmorg.base.images.teamcity.agents.yml

91 lines
3.5 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
- 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
- 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 SDK Image:"
run: cd linux/ecosystem/teamcity/agent/amxx-sdk && 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 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 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 Steam SDK Image:"
run: cd linux/ecosystem/teamcity/agent/steam-sdk && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make docker-clean