Skip to content

Commit 59b1a40

Browse files
committed
build: remove v from docker version tag
1 parent 48a4728 commit 59b1a40

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

justfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ build-and-push:
1313
#!/usr/bin/env bash
1414
echo "Building and pushing the Docker image"
1515
RELEASE_VERSION=$(git describe --tags --abbrev=0)
16+
echo "Release version: $RELEASE_VERSION"
17+
RELEASE_VERSION=${RELEASE_VERSION:1}
1618
docker buildx create --name mybuilder --platform linux/amd64,linux/arm64 --use
1719
docker buildx build --sbom=true --provenance=true --push --platform linux/amd64,linux/arm64 -t mbari/fastapi-tator:$RELEASE_VERSION --build-arg IMAGE_URI=mbari/fastapi-tator:$RELEASE_VERSION -f Dockerfile .
1820

0 commit comments

Comments
 (0)