docker-scripts/.github/workflows/epicmorg.base.images.nodejs.yml

100 lines
3.5 KiB
YAML

name: EpicMorg EcoSystem NodeJS Images
on:
# push:
# branches:
# - 'master'
schedule:
- cron: '5 5 * * 1,3,5'
jobs:
build-node-images:
name: Build EpicMorg NodeJS Images
runs-on: ubuntu-22.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: "Build and Deploy NodeJS LTS Image:"
run: cd linux/ecosystem/nodejs/lts && pwd && make build && make deploy
- name: "Build and Deploy NodeJS Current Image:"
run: cd linux/ecosystem/nodejs/current && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 0.12 Image:"
run: cd linux/ecosystem/nodejs/node0.12 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 4 Image:"
run: cd linux/ecosystem/nodejs/node4 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 5 Image:"
run: cd linux/ecosystem/nodejs/node5 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 6 Image:"
run: cd linux/ecosystem/nodejs/node6 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 7 Image:"
run: cd linux/ecosystem/nodejs/node7 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 8 Image:"
run: cd linux/ecosystem/nodejs/node8 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 9 Image:"
run: cd linux/ecosystem/nodejs/node8 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy NodeJS 10 Image:"
run: cd linux/ecosystem/nodejs/node10 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 11 Image:"
run: cd linux/ecosystem/nodejs/node11 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 12 Image:"
run: cd linux/ecosystem/nodejs/node12 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 13 Image:"
run: cd linux/ecosystem/nodejs/node13 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 14 Image:"
run: cd linux/ecosystem/nodejs/node14 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 15 Image:"
run: cd linux/ecosystem/nodejs/node15 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy NodeJS 16 Image:"
run: cd linux/ecosystem/nodejs/node16 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 17 Image:"
run: cd linux/ecosystem/nodejs/node17 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 18 Image:"
run: cd linux/ecosystem/nodejs/node18 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 19 Image:"
run: cd linux/ecosystem/nodejs/node19 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 20 Image:"
run: cd linux/ecosystem/nodejs/node20 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 21 Image:"
run: cd linux/ecosystem/nodejs/node21 && pwd && make build && make deploy
- name: "Build and Deploy NodeJS 22 Image:"
run: cd linux/ecosystem/nodejs/node22 && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make docker-clean