-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (35 loc) · 1.1 KB
/
docker-image-deploy.yml
File metadata and controls
38 lines (35 loc) · 1.1 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
name: Interview Transcriber Docker Image CD
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
Build-and-Push-Image:
runs-on: ubuntu-latest
name: Docker Build, Tag, Push
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Build nlp-tools container image
id: build-nlp-tools
uses: docker/build-push-action@v1
with:
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
registry: docker.pkg.github.com
repository: umass-rescue/interview-transcriber/nlp-tools
tags: latest
path: ./nlp-tools/
dockerfile: ./nlp-tools/Dockerfile
- name: Build transcriber container image
id: build-transcriber
uses: docker/build-push-action@v1
with:
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
registry: docker.pkg.github.com
repository: umass-rescue/interview-transcriber/transcriber
tags: latest
path: ./transcriber/
dockerfile: ./transcriber/Dockerfile