Skip to content

Commit

Permalink
flow image
Browse files Browse the repository at this point in the history
  • Loading branch information
phwissmann committed Oct 15, 2024
1 parent d69593d commit 1ff3ed1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 44 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/build-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
if: ${{ always() }}


build_flows_image:
build_runtime_image:
runs-on: ubuntu-latest
permissions:
packages: write
Expand Down Expand Up @@ -94,15 +94,13 @@ jobs:

# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v5
- name: Build and push
uses: docker/bake-action@v5
with:
context: ./backend
file: ./backend/prefect-flows.Dockerfile
push: true # ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
workdir: ./backend
files: prefect-runtime.Dockerfile
set: args.PREFECT_VERSION=3.0.4-python3.11
push: ${{ github.event_name != 'pull_request' }}

build_config_image:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -133,13 +131,11 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.OPENEM_CONFIG_IMAGE_NAME }}

# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action

- name: Build and push
uses: docker/bake-action@v5
with:
targets: prefect-config
set: args.PREFECT_VERSION=3.0.4-python3.11
push: true # ${{ github.event_name != 'pull_request' }}

build_openem_backend:
Expand Down
32 changes: 0 additions & 32 deletions backend/prefect-flows.Dockerfile

This file was deleted.

0 comments on commit 1ff3ed1

Please sign in to comment.