-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (31 loc) · 1.55 KB
/
docker-image.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
name: Docker Image CI
on:
push:
branches: [ "master", "database/cockroachdb", "database/spanner" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Build the AliyunCloud
run: docker build . --file docker/src/AliyunCloud/Dockerfile --tag my-image-name:$(date +%s) && docker image prune --all --force
- uses: actions/checkout@main
- name: Build the client
run: docker build . --file docker/src/client/Dockerfile --tag my-image-name:$(date +%s) && docker image prune --all --force
- uses: actions/checkout@main
- name: Build the server
run: docker build . --file docker/src/server/Dockerfile --tag my-image-name:$(date +%s) && docker image prune --all --force
- uses: actions/checkout@main
- name: Build the ffcreator
run: docker build . --file docker/src/ffcreator/Dockerfile --tag my-image-name:$(date +%s) && docker image prune --all --force
- uses: actions/checkout@main
- name: Build the capacitor
run: docker build . --file docker/src/capacitor/Dockerfile --tag my-image-name:$(date +%s) && docker image prune --all --force
- uses: actions/checkout@main
- name: Build the electron
run: docker build . --file docker/src/electron/Dockerfile --tag my-image-name:$(date +%s) && docker image prune --all --force
- uses: actions/checkout@main
- name: Build the rust
run: docker build . --file docker/src/rust/Dockerfile --tag my-image-name:$(date +%s) && docker image prune --all --force