Skip to content

Commit

Permalink
Forcing Docker to not cache prior layers when building image,
Browse files Browse the repository at this point in the history
  • Loading branch information
stevespringett committed Aug 21, 2021
1 parent b4ea051 commit 841dce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ githubrelease release dependencytrack/frontend create $PACKAGE_VERSION \
REPO=dependencytrack/frontend
docker rmi $REPO:latest
docker rmi $REPO:$PACKAGE_VERSION
docker build -f docker/Dockerfile -t $REPO:$PACKAGE_VERSION -t $REPO:latest .
docker build --no-cache --pull -f docker/Dockerfile -t $REPO:$PACKAGE_VERSION -t $REPO:latest .
docker login
docker push $REPO:latest
docker push $REPO:$PACKAGE_VERSION

0 comments on commit 841dce3

Please sign in to comment.