diff --git a/.github/workflows/images-main.yaml b/.github/workflows/images-main.yaml index 6206c61..f0e0125 100644 --- a/.github/workflows/images-main.yaml +++ b/.github/workflows/images-main.yaml @@ -26,3 +26,5 @@ jobs: with: environment: dev image: prefect-operator-dev + # this is required so that the workflow can read secrets rom the environment + secrets: inherit diff --git a/.github/workflows/images-prs.yaml b/.github/workflows/images-prs.yaml index 0ddac7c..bf96f2b 100644 --- a/.github/workflows/images-prs.yaml +++ b/.github/workflows/images-prs.yaml @@ -33,4 +33,5 @@ jobs: with: environment: dev image: prefect-operator-dev + # this is required so that the workflow can read secrets rom the environment secrets: inherit diff --git a/.github/workflows/images-tags.yaml b/.github/workflows/images-tags.yaml index 62c1d7c..94d6cf0 100644 --- a/.github/workflows/images-tags.yaml +++ b/.github/workflows/images-tags.yaml @@ -58,6 +58,8 @@ jobs: with: environment: prod image: prefect-operator + # this is required so that the workflow can read secrets rom the environment + secrets: inherit create_helm_release: needs: build_and_push_image_for_tags @@ -65,6 +67,5 @@ jobs: permissions: # required by downstream jobs contents: write - # this is required so that the workflow can read secrets - # from the environment + # this is required so that the workflow can read secrets rom the environment secrets: inherit