Skip to content

Commit

Permalink
chore: restore correct builds
Browse files Browse the repository at this point in the history
  • Loading branch information
tefkah committed Mar 4, 2025
1 parent 69207a4 commit 2d01fe7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/on_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
permissions: write-all
runs-on: ubuntu-latest
timeout-minutes: 30
# needs:
# - build-all
needs:
- build-all
steps:
- uses: actions/checkout@v4

Expand All @@ -45,9 +45,9 @@ jobs:

- name: Configure pullpreview
env:
PLATFORM_IMAGE: "" #${{ needs.build-all.outputs.core-image }}
JOBS_IMAGE: "" #${{ needs.build-all.outputs.jobs-image }}
MIGRATIONS_IMAGE: "" #${{ needs.build-all.outputs.base-image }}
PLATFORM_IMAGE: ${{ needs.build-all.outputs.core-image }}
JOBS_IMAGE: ${{ needs.build-all.outputs.jobs-image }}
MIGRATIONS_IMAGE: ${{ needs.build-all.outputs.base-image }}
run: |
sed -i "s|image: PLATFORM_IMAGE|image: $PLATFORM_IMAGE|" docker-compose.preview.yml
sed -i "s|image: JOBS_IMAGE|image: $JOBS_IMAGE|" docker-compose.preview.yml
Expand Down
8 changes: 4 additions & 4 deletions docker-compose.preview.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
platform:
# image: PLATFORM_IMAGE
image: PLATFORM_IMAGE
environment:
POSTGRES_USER: preview
POSTGRES_PASSWORD: preview
Expand All @@ -22,10 +22,10 @@ services:
MINIO_ROOT_PASSWORD: preview123
# volumes:
# - ./minio:/data
# platform-jobs:
# image: JOBS_IMAGE
platform-jobs:
image: JOBS_IMAGE
platform-migrations:
# image: MIGRATIONS_IMAGE
image: MIGRATIONS_IMAGE
command: pnpm --filter core reset
caddy:
environment:
Expand Down

0 comments on commit 2d01fe7

Please sign in to comment.