Skip to content

Commit

Permalink
fixup more-image-tags again (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfowl authored Nov 7, 2024
1 parent 60ed7bb commit 6eebf53
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .tekton/rapidast-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,9 @@ spec:
description: select the tags used for apply-tags
runAfter:
- build-image-index
params:
- name: TARGET_BRANCH
value: "{{target_branch}}"
results:
- name: TAGS
type: array
Expand All @@ -412,7 +415,7 @@ spec:
script: |
#!/bin/bash -ex
case "{{target_branch}}" in
case $(params.TARGET_BRANCH) in
"main") echo '["latest"]' > $(results.TAGS.path) ;;
"development") echo '["development"]' > $(results.TAGS.path) ;;
*) echo '[]' > $(results.TAGS.path) ;;
Expand Down

0 comments on commit 6eebf53

Please sign in to comment.