-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from triplea-game/docker-build-for-flyway
Docker builds: add a docker build for flyway
- Loading branch information
Showing
2 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,10 +31,14 @@ jobs: | |
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: build docker container | ||
- name: build database docker container | ||
run: | | ||
docker build . --tag ghcr.io/triplea-game/lobby:latest | ||
docker push ghcr.io/triplea-game/lobby:latest | ||
docker build database/sql --tag ghcr.io/triplea-game/lobby/flyway:latest | ||
docker push ghcr.io/triplea-game/lobby/flyway:latest | ||
- name: build server docker container | ||
run: | | ||
docker build . --tag ghcr.io/triplea-game/lobby/server:latest | ||
docker push ghcr.io/triplea-game/lobby/server:latest | ||
# - name: Load SSH private key into ssh-agent | ||
# uses: webfactory/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM flyway/flyway | ||
|
||
RUN mkdir /flyway/sql | ||
COPY migrations /flyway/sql/ | ||
|