-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (29 loc) · 874 Bytes
/
build.yml
File metadata and controls
34 lines (29 loc) · 874 Bytes
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
name: 'build'
on:
push:
#schedule:
# - cron: '0 0 * * 5'
env:
CI: true
DOCKER_BUILDKIT: 1
jobs:
multi-simulator:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: docker build -t terostech/multi-simulator - < multi-simulator.dockerfile
- name: Deploy to hub.docker.com
run: |
echo "${{ secrets.DOCKER_PASS }}" | docker login -u "${{ secrets.DOCKER_USER }}" --password-stdin
docker push terostech/multi-simulator
docker logout
colibri:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: docker build -t terostech/colibri - < colibri.dockerfile
- name: Deploy to hub.docker.com
run: |
echo "${{ secrets.DOCKER_PASS }}" | docker login -u "${{ secrets.DOCKER_USER }}" --password-stdin
docker push terostech/colibri
docker logout