fix(scripts/push_images.sh): break into separate depot push invocations

This commit is contained in:
Cian Johnston 2024-01-16 14:26:07 +00:00
parent 67df50c8ff
commit ddf05c6e33
No known key found for this signature in database
GPG Key ID: F57401F0A40CBB29
1 changed files with 2 additions and 1 deletions

View File

@ -102,5 +102,6 @@ for image in "${IMAGES[@]}"; do
fi
build_id=$(cat "build_${image}.json" | jq -r .\[\"depot.build\"\].buildID)
run_trace $DRY_RUN depot push --project "gb3p8xrshk" --tag "$image_ref" --tag "codercom/enterprise-${image}:latest" "$build_id"
run_trace $DRY_RUN depot push --project "gb3p8xrshk" --tag "$image_ref" "$build_id"
run_trace $DRY_RUN depot push --project "gb3p8xrshk" --tag "codercom/enterprise-${image}:latest" "$build_id"
done