Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: CCIE-3899 Add force_update_manifest to argus-docker-build #342

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -225,7 +230,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
Loading