Skip to content

Commit

Permalink
feat: CCIE-3899 Add force_update_manifest to argus-docker-build
Browse files Browse the repository at this point in the history
  • Loading branch information
wontonst committed Feb 4, 2025
1 parent 7e24ee1 commit b03f36a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/argus-docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ on:
required: false
type: boolean
default: true
force_update_manifests:
description: 'Whether to always update ArgoCD manifests after building the Docker images'
required: false
type: boolean
default: false

jobs:
prep:
Expand Down Expand Up @@ -226,7 +231,7 @@ jobs:
permissions:
id-token: write
contents: read
if: always() && inputs.update_manifests && needs.prep.outputs.should_build == 'true'&& needs.prep.outputs.should_deploy == 'true' && needs.prep.outputs.images != '[]'
if: always() && needs.prep.outputs.should_build == 'true' && (inputs.force_update_manifests || inputs.update_manifests && needs.prep.outputs.should_deploy == 'true' && needs.prep.outputs.images != '[]')
steps:
- name: Check build status
uses: actions/github-script@v7
Expand Down

0 comments on commit b03f36a

Please sign in to comment.