From 11cc0d27b9b2da4088524a675db07c784378904b Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Tue, 29 Jun 2021 22:55:27 +0800 Subject: [PATCH] chore: remove unnecessary files. --- scripts/docker-build-dev.sh | 10 ---------- scripts/docker-build-release.sh | 10 ---------- 2 files changed, 20 deletions(-) delete mode 100755 scripts/docker-build-dev.sh delete mode 100755 scripts/docker-build-release.sh diff --git a/scripts/docker-build-dev.sh b/scripts/docker-build-dev.sh deleted file mode 100755 index fd3030f1c..000000000 --- a/scripts/docker-build-dev.sh +++ /dev/null @@ -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 diff --git a/scripts/docker-build-release.sh b/scripts/docker-build-release.sh deleted file mode 100755 index 095a094d7..000000000 --- a/scripts/docker-build-release.sh +++ /dev/null @@ -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