mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
ci: fix dockerize (#1355)
This commit is contained in:
parent
9ced256da3
commit
581a1c750a
2 changed files with 3 additions and 2 deletions
3
.github/workflows/dockerize.yml
vendored
3
.github/workflows/dockerize.yml
vendored
|
@ -27,6 +27,7 @@ jobs:
|
|||
type=semver,pattern={{version}}
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
type=semver,pattern={{major}}
|
||||
type=raw,value=dev
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
@ -47,7 +48,7 @@ jobs:
|
|||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
- name: Compose up
|
||||
run: docker compose up -d
|
||||
run: TAG=dev docker compose up -d
|
||||
|
||||
- name: Sleep for 30 seconds
|
||||
run: sleep 30s
|
||||
|
|
|
@ -4,7 +4,7 @@ services:
|
|||
app:
|
||||
depends_on:
|
||||
- postgres
|
||||
image: ghcr.io/logto-io/logto:latest
|
||||
image: ghcr.io/logto-io/logto:${TAG-latest}
|
||||
ports:
|
||||
- 3001:3001
|
||||
environment:
|
||||
|
|
Loading…
Reference in a new issue