feat: deploy dev image
This commit is contained in:
parent
97aead5282
commit
00197e971f
|
|
@ -43,10 +43,16 @@ jobs:
|
||||||
|
|
||||||
- name: Run Docker-Compose
|
- name: Run Docker-Compose
|
||||||
run: |
|
run: |
|
||||||
docker compose up -d
|
# docker compose up -d
|
||||||
|
docker compose build appflowy_cloud
|
||||||
|
|
||||||
- name: Run tests
|
# - name: Run tests
|
||||||
|
# run: |
|
||||||
|
# cargo install sqlx-cli --version=${{ env.SQLX_VERSION }} --features ${{ env.SQLX_FEATURES }} --no-default-features --locked
|
||||||
|
# RUST_LOG=debug cargo test
|
||||||
|
|
||||||
|
- name: Release image to docker hub
|
||||||
run: |
|
run: |
|
||||||
cargo install sqlx-cli --version=${{ env.SQLX_VERSION }} --features ${{ env.SQLX_FEATURES }} --no-default-features --locked
|
docker tag appflowy-cloud-appflowy_cloud appflowyinc/appflowy_cloud:dev
|
||||||
RUST_LOG=debug cargo test
|
echo ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | docker login --username appflowyinc --password-stdin
|
||||||
|
docker push appflowyinc/appflowy_cloud:dev
|
||||||
|
|
|
||||||
|
|
@ -119,7 +119,7 @@ services:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
image: appflowyinc/appflowy_cloud:${BACKEND_VERSION:-latest}
|
#image: appflowyinc/appflowy_cloud:${BACKEND_VERSION:-latest}
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
- postgres
|
- postgres
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue