0
Fork 0
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:
Gao Sun 2022-07-01 21:02:53 +08:00 committed by GitHub
parent 9ced256da3
commit 581a1c750a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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: