Skip to content

Commit 953d9c3

Browse files
committed
remove build/push from prefect.yaml file
* use the github action to build/publish image instead
1 parent 77c6253 commit 953d9c3

1 file changed

Lines changed: 2 additions & 24 deletions

File tree

prefect.yaml

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,9 @@
11
name: prefect-docker-pixi-tiled-srx
22
prefect-version: 3.6.0
33

4-
build:
5-
- prefect.deployments.steps.run_shell_script:
6-
id: get-commit-hash
7-
script: git rev-parse --short HEAD
8-
stream_output: false
9-
- prefect_docker.deployments.steps.build_docker_image:
10-
id: build-image
11-
requires: prefect-docker>0.6.0
12-
image_name: ghcr.io/nsls2/srx-workflow-prefect3
13-
tag: "{{ get-commit-hash.stdout }}"
14-
dockerfile: Dockerfile
15-
additional_tags:
16-
- main
4+
build: null
175

18-
push:
19-
- prefect_docker.deployments.steps.push_docker_image:
20-
requires: prefect-docker>0.6.0
21-
image_name: "{{ build-image.image_name }}"
22-
tag: "{{ build-image.tag }}"
23-
credentials:
24-
"{{
25-
prefect.blocks.docker-registry-credentials.ghcr-nsls2-srx-workflow-prefect3
26-
}}"
27-
additional_tags:
28-
- main
6+
push: null
297

308
pull:
319
- prefect.deployments.steps.set_working_directory:

0 commit comments

Comments
 (0)