mirror of https://github.com/halo-dev/halo
Fix docker build args error
parent
3a4201a453
commit
eb05570a87
|
@ -5,6 +5,6 @@ VERSION=$(ls build/libs | sed 's/.*halo-//' | sed 's/.jar$//')
|
|||
echo "Halo version: $VERSION"
|
||||
|
||||
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||
docker build --build-arg JAR_FILE=build/libs/halo-$VERSION.jar -t $DOCKER_USERNAME/halo:latest-dev -t $DOCKER_USERNAME/halo:$VERSION.dev .
|
||||
docker build --build-arg JAR_FILE="build/libs/halo-$VERSION.jar" -t $DOCKER_USERNAME/halo:latest-dev -t $DOCKER_USERNAME/halo:$VERSION.dev .
|
||||
docker images
|
||||
docker push $DOCKER_USERNAME/halo
|
||||
|
|
Loading…
Reference in New Issue