fix: fix pushing to correct repo (#249)
This commit is contained in:
parent
0025c3f21b
commit
5192a7706d
|
@ -101,7 +101,7 @@ for image in "${IMAGES[@]}"; do
|
|||
continue
|
||||
fi
|
||||
|
||||
run_trace $DRY_RUN depot build --project "gb3p8xrshk" --load --platform linux/arm64,linux/amd64,linux/arm/v7 --save --metadata-file=build.json \
|
||||
run_trace $DRY_RUN depot build --project "gb3p8xrshk" --load --platform linux/arm64,linux/amd64,linux/arm/v7 --save --metadata-file="build_{$image}.json" \
|
||||
"${docker_flags[@]}" \
|
||||
"$image_dir" \
|
||||
--file="$image_path" \
|
||||
|
|
|
@ -101,6 +101,6 @@ for image in "${IMAGES[@]}"; do
|
|||
continue
|
||||
fi
|
||||
|
||||
build_id=$(cat build.json | jq -r .\[\"depot.build\"\].buildID)
|
||||
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"
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue