Browse Source

Automatically pull newest Docker base image for release

pull/45/head
Martin Bober 1 year ago
parent
commit
78fbc35cf0
  1. 2
      docker_build.sh

2
docker_build.sh

@ -3,7 +3,7 @@
VERSION=`docker run -v $(pwd):/repo gittools/gitversion:5.3.5-linux-alpine.3.10-x64-netcoreapp3.1 /repo /showvariable SemVer`
CURRENT_DIR=${PWD##*/}
docker-compose build --build-arg app_version=$VERSION development || exit 1
docker-compose build --pull --build-arg app_version=$VERSION development || exit 1
docker tag ${PWD##*/}_development:latest docker.mbober.de/charxchange:$VERSION || exit 2

Loading…
Cancel
Save