Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add step to build flyway container #2593

Merged
merged 13 commits into from
Sep 19, 2024
8 changes: 8 additions & 0 deletions .github/workflows/container-tefca-viewer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@ jobs:
push: false
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Build ${{ env.CONTAINER }} Flyway Container
uses: docker/build-push-action@v3
with:
context: ./containers/${{ env.CONTAINER }}
m-goggins marked this conversation as resolved.
Show resolved Hide resolved
file: ./Dockerfile.flyway
push: false
cache-from: type=gha
cache-to: type=gha,mode=max

playwright-tests:
timeout-minutes: 10
Expand Down
6 changes: 6 additions & 0 deletions containers/tefca-viewer/Dockerfile.flyway
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM flyway/flyway:10.16-alpine

COPY ./flyway/sql /flyway/sql
COPY ./flyway/conf /flyway/conf


2 changes: 1 addition & 1 deletion containers/tefca-viewer/tefca.env
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ POSTGRES_USER=postgres
PGUSER=postgres
POSTGRES_PASSWORD=pw
POSTGRES_DB=tefca_db
DATABASE_URL=postgres://postgres:pw@db:5432/tefca_db
DATABASE_URL=postgres://postgres:pw@localhost:5432/tefca_db
m-goggins marked this conversation as resolved.
Show resolved Hide resolved
POSTGRES_PORT=5432
POSTGRES_HOST=localhost
Loading