Create public docker images
This commit is contained in:
9
.github/workflows/run-tests.yaml
vendored
9
.github/workflows/run-tests.yaml
vendored
@ -98,11 +98,20 @@ jobs:
|
||||
name: Build docker images
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Login to GitHub container registry'
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{github.actor}}
|
||||
password: ${{secrets.GITHUB_TOKEN}}
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Build the API docker image
|
||||
run: 'docker build --file packages/api/Dockerfile .'
|
||||
run: |
|
||||
docker build . --file packages/api/Dockerfile --tag ghcr.io/omnivore-app/backend:latest
|
||||
docker push ghcr.io/omnivore-app/backend:latest
|
||||
- name: Build the content-fetch docker image
|
||||
run: 'docker build --file packages/content-fetch/Dockerfile .'
|
||||
- name: Build the inbound-email-handler docker image
|
||||
|
||||
Reference in New Issue
Block a user