-
Notifications
You must be signed in to change notification settings - Fork 52
70 lines (61 loc) · 2.5 KB
/
build-and-publish-docker-images.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
name: Build-and-publish-docker-images-workflow
on:
push:
release:
types: [ published ]
jobs:
Build-and-publish-docker-images:
runs-on: ubuntu-latest
if: |
contains(github.event.pull_request.body, 'The workflow build-and-publish-docker-images was intentionally skipped.') == false &&
contains(github.event.head_commit.message, 'DockerHub')
steps:
- uses: actions/checkout@master
- name: Build and publish AasxServerBlazor
uses: docker/build-push-action@v1
with:
username: adminshellio
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: adminshellio/aasx-server-blazor-for-demo
tags: v3latest
dockerfile: src/docker/Dockerfile-AasxServerBlazor
- name: Build and publish AasxServerBlazor-arm32
uses: docker/build-push-action@v1
with:
username: adminshellio
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: adminshellio/aasx-server-blazor-for-demo-arm32
tags: v3latest
dockerfile: src/docker/Dockerfile-AasxServerBlazor-arm32
- name: Build and publish AasxServerBlazor-arm64
uses: docker/build-push-action@v1
with:
username: adminshellio
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: adminshellio/aasx-server-blazor-for-demo-arm64
tags: v3latest
dockerfile: src/docker/Dockerfile-AasxServerBlazor-arm64
- name: Build and publish AasxServerCore
uses: docker/build-push-action@v1
with:
username: adminshellio
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: adminshellio/aasx-server-aspnetcore-for-demo
tags: v3latest
dockerfile: src/docker/Dockerfile-AasxServerAspNetCore
- name: Build and publish AasxServerCore-arm32
uses: docker/build-push-action@v1
with:
username: adminshellio
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: adminshellio/aasx-server-aspnetcore-for-demo-arm32
tags: v3latest
dockerfile: src/docker/Dockerfile-AasxServerAspNetCore-arm32
- name: Build and publish AasxServerCore-arm64
uses: docker/build-push-action@v1
with:
username: adminshellio
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: adminshellio/aasx-aspnetcore-for-demo-arm64
tags: v3latest
dockerfile: src/docker/Dockerfile-AasxServerAspNetCore-arm64