Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

label images #93

Merged
merged 1 commit into from
Aug 25, 2023
Merged
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
2 changes: 2 additions & 0 deletions utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ build_cpu(){
docker buildx build ${@:3} \
--file ./docker/cpu/Dockerfile \
--build-arg="MODEL_ID=$MODEL_ID" \
--label="org.opencontainers.image.source=https://github.com/premAI-io/prem-services"
--tag $IMAGE:latest \
--tag $IMAGE:$VERSION \
--platform ${BUILDX_PLATFORM:-linux/arm64,linux/amd64} \
Expand All @@ -23,6 +24,7 @@ build_gpu(){
docker buildx build ${@:3} \
--file ./docker/gpu/Dockerfile \
--build-arg="MODEL_ID=$MODEL_ID" \
--label="org.opencontainers.image.source=https://github.com/premAI-io/prem-services"
--tag $IMAGE:latest \
--tag $IMAGE:$VERSION \
.
Expand Down