Hi, is there a way to override certain attributes ...
# ask-community
h
Hi, is there a way to override certain attributes of a defined action for a specific deployment in
prefect.yaml
? I have a prefect.yaml defined that defines a docker_build action
Copy code
actions:
    docker_build: &docker_build
    - prefect_docker.deployments.steps.build_docker_image:
        id: build_image
        requires: prefect-docker>=0.3.1
        image_name: my.private.image.registry/image
        tag: v1.0
        dockerfile: Dockerfile
        platform: linux/amd64
Within the deployments i am referencing this with
*docker_build
. Is it possible to define another tag for a deployment but use the rest of the needed attributes from the actions definition? So in this example I would like a deployment to use all these attributes but have another tag then v1.0.