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

Commit

Permalink
label images
Browse files Browse the repository at this point in the history
- part of #81
  • Loading branch information
casperdcl committed Aug 24, 2023
1 parent 719bf08 commit 749f502
Showing 1 changed file with 2 additions and 0 deletions.
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

0 comments on commit 749f502

Please sign in to comment.