mirror of
https://codeberg.org/JasterV/spazio-solazzo.git
synced 2026-04-26 18:20:03 +00:00
choreuse custom dockerfile
This commit is contained in:
parent
2e8c5b8bd7
commit
6948acda4e
2 changed files with 8 additions and 2 deletions
5
.github/workflows/fly-review.yml
vendored
5
.github/workflows/fly-review.yml
vendored
|
|
@ -29,10 +29,13 @@ jobs:
|
|||
- name: Get code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build elixir image
|
||||
run: docker build -t custom-image-elixir:1.19 -f Dockerfile .
|
||||
|
||||
- name: Deploy PR app to Fly.io
|
||||
id: deploy
|
||||
uses: superfly/fly-pr-review-apps@1.2.0
|
||||
with:
|
||||
name: "pr-${{ github.event.pull_request.number }}-jasterv-spazio-solazzo"
|
||||
image: elixir:1.19 # this is needed otherwise elixir isn't in the PATH.
|
||||
image: custom-image-elixir:1.19
|
||||
config: fly.review.toml
|
||||
|
|
|
|||
|
|
@ -4,7 +4,10 @@ primary_region = "ams"
|
|||
kill_signal = "SIGTERM"
|
||||
|
||||
[build]
|
||||
dockerfile = "Dockerfile"
|
||||
|
||||
[deploy]
|
||||
release_command = '/app/bin/migrate'
|
||||
wait_timeout = "10m"
|
||||
|
||||
[env]
|
||||
PHX_SERVER = "true"
|
||||
|
|
|
|||
Loading…
Reference in a new issue