-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (52 loc) · 1.58 KB
/
docker.yml
File metadata and controls
54 lines (52 loc) · 1.58 KB
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
on:
release:
types: [published]
jobs:
build-docker:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Create proto symlinks
run: |
ln ./usernator/api.proto ./tasky/api.proto
ln ./tasky/tasky.proto ./usernator/tasky.proto
ln ./tasky/tasky.proto ./executor/tasky.proto
- name: set up buildx
uses: docker/setup-buildx-action@v1
- name: log in to ghcr
uses: docker/login-action@v1
with:
registry: ghcr.io
username: mathisburger
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build web
uses: docker/build-push-action@v2
with:
context: ./web
push: true
tags: ghcr.io/mathisburger/codecanvas-web:latest
- name: Build authy
uses: docker/build-push-action@v2
with:
context: ./authy
push: true
tags: ghcr.io/mathisburger/codecanvas-authy:latest
- name: Build executor
uses: docker/build-push-action@v2
with:
context: ./executor
push: true
tags: ghcr.io/mathisburger/codecanvas-executor:latest
- name: Build tasky
uses: docker/build-push-action@v2
with:
context: ./tasky
push: true
tags: ghcr.io/mathisburger/codecanvas-tasky:latest
- name: Build usernator
uses: docker/build-push-action@v2
with:
context: ./usernator
push: true
tags: ghcr.io/mathisburger/codecanvas-usernator:latest