Skip to content

Commit

Permalink
fix(plugins/docker): use optimized syntax for docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
dalisoft committed Jun 24, 2024
1 parent 4b05592 commit 59560db
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions plugins/docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ release() {

prepare

docker build -t "${GIT_REPO_NAME-}:${NEXT_BUILD_VERSION-}" . --push
docker tag "${GIT_REPO_NAME}:${NEXT_BUILD_VERSION}" "${GIT_REPO_NAME}:latest"
docker push "${GIT_REPO_NAME}"
docker build -t "${GIT_REPO_NAME-}:latest" -t "${GIT_REPO_NAME}:${NEXT_BUILD_VERSION-}" . --push

log "Docker image published [${NEXT_RELEASE_TAG}]!"

Expand Down

0 comments on commit 59560db

Please sign in to comment.