Merge pull request #3614 from omnivore-app/fix/github-actions-build-images

Fix action that validates image build
This commit is contained in:
Jackson Harper 2024-03-04 10:27:07 +08:00 committed by GitHub
commit 53816db359
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -104,17 +104,8 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: 'Login to GitHub container registry'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- 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:${GITHUB_SHA}" --tag ghcr.io/omnivore-app/backend:latest
docker push ghcr.io/omnivore-app/backend:${GITHUB_SHA}
run: 'docker build --file packages/api/Dockerfile .'
- name: Build the content-fetch docker image
run: 'docker build --file packages/content-fetch/Dockerfile .'
- name: Build the inbound-email-handler docker image