docker-scripts/.github/workflows/epicmorg.advanced.vscode.images.yml
2024-11-27 13:54:14 +03:00

80 lines
2.8 KiB
YAML

name: "EpicMorg Advanced Vscode Server Images"
on:
# push:
# branches:
# - 'master'
workflow_dispatch:
schedule:
- cron: '0 0 * * 2,4,6'
jobs:
build-images:
name: Build EpicMorg Advanced Vscode Server 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 Advanced Vscode Server Images:"
run: cd linux/advanced/vscode-server/latest && pwd && make build && make deploy
- name: "Build and Deploy Advanced Vscode Server AMXX 1.9 Images:"
run: cd linux/advanced/vscode-server/amxx/1.9 && pwd && make build && make deploy
- name: "Build and Deploy Advanced Vscode Server AMXX 1.10 Images:"
run: cd linux/advanced/vscode-server/amxx/1.10 && pwd && make build && make deploy
- name: "Build and Deploy Advanced Vscode Server Android Images:"
run: cd linux/advanced/vscode-server/android && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make docker-clean
##################################################################################
- name: "Build and Deploy Advanced Vscode Server NodeJS Images:"
run: cd linux/advanced/vscode-server/nodejs && pwd && make build && make deploy
- name: "Build and Deploy Advanced Vscode Server CPP Images:"
run: cd linux/advanced/vscode-server/cpp && pwd && make build && make deploy
- name: "Build and Deploy Advanced Vscode Server Docker Images:"
run: cd linux/advanced/vscode-server/docker && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make docker-clean
##################################################################################
- name: "Build and Deploy Advanced Vscode Server dotnet Images:"
run: cd linux/advanced/vscode-server/dotnet && pwd && make build && make deploy
- name: "Build and Deploy Advanced Vscode Server dotnat Full Images:"
run: cd linux/advanced/vscode-server/dotnet-full && pwd && make build && make deploy
- name: "Build and Deploy Advanced Vscode Server Mono Images:"
run: cd linux/advanced/vscode-server/mono && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make docker-clean
##################################################################################