diff --git a/.github/workflows/dev_environment.yml b/.github/workflows/dev_environment.yml index ad8e4e927e0..425029b2b69 100644 --- a/.github/workflows/dev_environment.yml +++ b/.github/workflows/dev_environment.yml @@ -110,6 +110,7 @@ jobs: environment: name: ${{ inputs.environment || 'default' }} url: ${{ vars.deployment_url || format('https://github.com/{0}', github.repository) }} + deployment: ${{ inputs.environment != 'ghcr-ci' && inputs.update_registry_cache == '' }} steps: - name: Checkout repository @@ -213,6 +214,7 @@ jobs: environment: name: ${{ inputs.environment || 'default' }} url: ${{ vars.deployment_url || format('https://github.com/{0}', github.repository) }} + deployment: ${{ inputs.environment != 'ghcr-ci' && inputs.update_registry_cache == '' }} steps: - name: Checkout repository diff --git a/.github/workflows/docker_images.yml b/.github/workflows/docker_images.yml index d2540c58584..8cfe61501e4 100644 --- a/.github/workflows/docker_images.yml +++ b/.github/workflows/docker_images.yml @@ -55,6 +55,7 @@ jobs: environment: name: ${{ inputs.environment || 'default' }} url: ${{ vars.deployment_url || format('https://github.com/{0}', github.repository) }} + deployment: ${{ inputs.environment != 'ghcr-ci' }} steps: - id: info @@ -98,6 +99,7 @@ jobs: environment: name: ${{ inputs.environment || 'default' }} url: ${{ vars.deployment_url || format('https://github.com/{0}', github.repository) }} + deployment: ${{ inputs.environment != 'ghcr-ci' }} steps: - name: Checkout repository @@ -228,6 +230,7 @@ jobs: environment: name: ${{ inputs.environment || 'default' }} url: ${{ vars.deployment_url || format('https://github.com/{0}', github.repository) }} + deployment: ${{ inputs.environment != 'ghcr-ci' }} # Needed for making local images available to the docker/build-push-action. # See also https://stackoverflow.com/a/63927832. @@ -445,6 +448,7 @@ jobs: environment: name: ${{ inputs.environment || 'default' }} url: ${{ vars.deployment_url || format('https://github.com/{0}', github.repository) }} + deployment: ${{ inputs.environment != 'ghcr-ci' }} # Needed for making local images available to the docker/build-push-action. # See also https://stackoverflow.com/a/63927832.