-
Notifications
You must be signed in to change notification settings - Fork 97
81 lines (70 loc) · 2.55 KB
/
docker-publish-njsPC-linux.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
name: Publish Docker Image - Ubuntu
on:
push:
branches:
- main
- docker
workflow_dispatch:
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Checkout code from tagyoureit/nodejs-poolcontroller
uses: actions/checkout@v3
with:
repository: tagyoureit/nodejs-poolcontroller
ref: master # or specify the branch or tag to pull from
path: nodejs-poolcontroller
- name: Checkout code from rstrouse/nodejs-poolcontroller-dashpanel
uses: actions/checkout@v3
with:
repository: rstrouse/nodejs-poolcontroller-dashpanel #
ref: master # Specify the branch or tag to pull from
path: nodejs-poolcontroller-dashpanel # Specify the directory to checkout the code into
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push combined Docker image
uses: docker/build-push-action@v4
with:
context: .
file: ./.docker/Dockerfile.linux
push: true
tags: |
tagyoureit/njspc-njspcdp-combined-app:latest
# - name: Build and push njsPC Linux Docker image (x86_64)
# uses: docker/build-push-action@v4
# with:
# context: .
# file: ./.docker/Dockerfile.linux
# push: true
# tags: |
# tagyoureit/nodejs-poolcontroller:latest
# - name: Build and push njsPC-dP Linux Docker image (x86_64)
# uses: docker/build-push-action@v4
# with:
# context: nodejs-poolcontroller-dashpanel
# file: ./.docker/Dockerfile.linux
# push: true
# tags: |
# rstrouse/nodejs-poolcontroller-dashpanel:latest
# - name: Build and push ARMv7 Docker image
# uses: docker/build-push-action@v4
# with:
# context: .
# file: ./.docker/Dockerfile.armv7 # Adjust the path to your ARMv7 Dockerfile
# push: true
# tags: |
# tagyoureit/nodejs-poolcontroller-armv7:latest
# - name: Build and push ARMv6 Docker image
# uses: docker/build-push-action@v4
# with:
# context: .
# file: ./.docker/Dockerfile.armv6 # Adjust the path to your ARMv6 Dockerfile
# push: true
# tags: |
# tagyoureit/nodejs-poolcontroller-armv6:latest