Merge pull request #682 from influxdata/fix/add-images-toplevel-to-deploy-tags
fix: add Images toplevel object to JSON in get-deploy-tags.shpull/24376/head
commit
0dae62d023
|
@ -38,9 +38,11 @@ jq --null-input --sort-keys \
|
|||
--arg imgPrefix "${DOCKER_IMAGE}" \
|
||||
--arg appKey "$APP_NAME" \
|
||||
'$tagDigest | split(" ") as $td | {
|
||||
($appKey): {
|
||||
Tag: ($imgPrefix + ":" + $td[0]),
|
||||
Digest: ($imgPrefix + "@" + $td[1]),
|
||||
Images: {
|
||||
($appKey): {
|
||||
Tag: ($imgPrefix + ":" + $td[0]),
|
||||
Digest: ($imgPrefix + "@" + $td[1]),
|
||||
},
|
||||
},
|
||||
PublishedAt: (now | todateiso8601)
|
||||
}'
|
||||
|
|
Loading…
Reference in New Issue