chore: remove unnecessary files.

pull/1415/head
Ryan Wang 2021-06-29 22:55:27 +08:00
parent 2420a44695
commit 11cc0d27b9
2 changed files with 0 additions and 20 deletions

View File

@ -1,10 +0,0 @@
#!/bin/bash
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 images
docker push $DOCKER_USERNAME/halo

View File

@ -1,10 +0,0 @@
#!/bin/bash
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 -t $DOCKER_USERNAME/halo:$VERSION .
docker images
docker push $DOCKER_USERNAME/halo