Compare commits
7 Commits
9225b8947d
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 9734ccb9a2 | |||
| d6605d803a | |||
| 6fdc2be4fc | |||
| 7aba08ef32 | |||
| 326b0e9947 | |||
| d835b5b76c | |||
| eb750432fe |
@@ -19,13 +19,16 @@ jobs:
|
|||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
- name: Build and push Main web app container image to registry
|
- name: Set up QEMU
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/setup-qemu-action@v3
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
|
- name: Build and push
|
||||||
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: jake/sproute-db-migrations:latest
|
tags: gitea.dropgaze.xyz/jake/sprout-db-migrations:latest
|
||||||
platforms: |
|
platforms: |
|
||||||
linux/amd64
|
|
||||||
linux/arm64
|
linux/arm64
|
||||||
file: ./Dockerfile
|
linux/amd64
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
FROM amacneil/dbmate:latest
|
FROM amacneil/dbmate:latest
|
||||||
|
|
||||||
WORKDIR /app/migrations
|
COPY ./db /db
|
||||||
|
|
||||||
COPY db/migrations /app/migrations
|
|
||||||
|
|
||||||
CMD ["--wait", "up"]
|
CMD ["--wait", "up"]
|
||||||
|
|||||||
Reference in New Issue
Block a user