Skip to content

Commit

Permalink
Updated scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
commjoen committed Nov 24, 2021
1 parent 51ab080 commit 53da0ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/scripts/docker-create-and-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ echo "tag supplied: $1"
echo "tag message: $2"
echo "buildarg supplied: $3"

#echo "tagging version"
#git tag -a $1 -m "$2"
#git push --tags

echo "tagging version"
git tag -a $1 -m "$2"
git push --tags
docker buildx create --name mybuilder
docker buildx use mybuilder
echo "creating containers"
docker buildx build --platform linux/amd64,linux/arm64 -t jeroenwillemsen/addo-example:$1-no-vault --build-arg "$3" --build-arg "PORT=8081" --build-arg "argBasedVersion=$1" --build-arg "spring_profile=without-vault" --push ./../../.
Expand Down

0 comments on commit 53da0ae

Please sign in to comment.