Skip to content

Commit

Permalink
update deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Davide Arcuri committed Jan 8, 2024
1 parent 185fd6b commit 3deb821
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ env:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- dockerfile: ./compose/local/django/Dockerfile
image: ghcr.io/LDO-CERT/orochi/orochi_django
- dockerfile: ./compose/local/postgres/Dockerfile
image: ghcr.io/LDO-CERT/orochi/orochi_postgres
- dockerfile: ./compose/local/dask/Dockerfile
image: ghcr.io/LDO-CERT/orochi/orochi_worker
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -42,12 +52,13 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
images: ${{ matrix.image }}

- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ${{ matrix.dockerfile }}
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit 3deb821

Please sign in to comment.