Skip to content

Commit

Permalink
use ci build as test
Browse files Browse the repository at this point in the history
  • Loading branch information
cnolanminich committed Nov 22, 2024
1 parent 8c5909e commit 8309aba
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/deploy-dagster-cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,12 +204,15 @@ jobs:

# Build 'hooli_bi' code location
- name: Build and upload Docker image for hooli_bi
if: steps.prerun.outputs.result != 'skip' && steps.changed-files.outputs.hooli-bi_any_changed == 'true'
uses: docker/build-push-action@v5
if: steps.prerun.outputs.result != 'skip' && steps.changed-files.outputs.hooli-bi_any_changed == 'true'
uses: dagster-io/dagster-cloud-action/actions/utils/[email protected]
with:
context: ./hooli-bi
push: true
tags: ${{ env.IMAGE_REGISTRY }}:${{ env.IMAGE_TAG }}-hooli-bi
command: "ci build --location-name hooli_bi --docker-image-tag $IMAGE_TAG-hooli-bi"
#uses: docker/build-push-action@v5
#with:
# context: ./hooli-bi
# push: true
# tags: ${{ env.IMAGE_REGISTRY }}:${{ env.IMAGE_TAG }}-hooli-bi

# Build pipes example container
- name: Build and upload Docker image for pipes example
Expand Down
1 change: 1 addition & 0 deletions hooli-bi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim
WORKDIR /opt/dagster/app



# Enable bytecode compilation
ENV UV_COMPILE_BYTECODE=1
ENV UV_PROJECT_ENVIRONMENT=/usr/local
Expand Down

0 comments on commit 8309aba

Please sign in to comment.