Skip to content

Commit

Permalink
feat(docker_push): tag a version with the current package version
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherthielen committed Jul 20, 2020
1 parent e7d6fa0 commit 80d7b3c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docgen/docker_push.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/usr/bin/env bash

VERSION=$(jq -r .version < ../package.json);
docker build -t docgen . --no-cache
docker tag docgen:latest uirouter/docgen:$VERSION
docker push uirouter/docgen:$VERSION
docker tag docgen:latest uirouter/docgen:stable
docker push uirouter/docgen:stable

0 comments on commit 80d7b3c

Please sign in to comment.