-
Notifications
You must be signed in to change notification settings - Fork 10
39 lines (38 loc) · 1.01 KB
/
build-containers.yaml
File metadata and controls
39 lines (38 loc) · 1.01 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
name: Build Containers
on:
pull_request:
branches:
- master
jobs:
build-containers:
runs-on: ubuntu-latest
services:
registry:
image: registry:2
ports:
- 5000:5000
steps:
- uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build worker container
uses: docker/build-push-action@v2
with:
file: deploy/worker-kinetic-no-gpu.docker
context: .
push: false
tags: amzracing/rbb-tools:latest
- name: Build API container
uses: docker/build-push-action@v2
with:
file: deploy/api-server.docker
context: .
push: false
tags: amzracing/rbb-tools:latest
- name: Build GPU worker container
uses: docker/build-push-action@v2
with:
file: deploy/worker-kinetic-gpu.docker
context: .
push: false
tags: amzracing/rbb-tools-gpu-nvidia:latest