Skip to content

Commit

Permalink
Renaming and updating release scripts (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
thegreystone authored Jul 30, 2024
1 parent 22d8f35 commit 3c6e79c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions dockerize-native.sh → release-native.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ docker buildx inspect --bootstrap
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)

./mvnw package -Pnative

# Not building native images on GitHub commits yet for latest-native, so also tagging latest...
docker buildx build -f src/main/docker/Dockerfile.native --platform linux/amd64,linux/arm64 -t greystone/slogan-generator:$VERSION-native -t greystone/slogan-generator:latest-native --push .
4 changes: 3 additions & 1 deletion dockerize.sh → release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ docker buildx inspect --bootstrap
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)

./mvnw package
docker buildx build -f src/main/docker/Dockerfile.jvm --platform linux/amd64,linux/arm64 -t greystone/slogan-generator:$VERSION -t greystone/slogan-generator:latest --push .

# Only building with the release tag - latest is built on each commit to GitHub
docker buildx build -f src/main/docker/Dockerfile.jvm --platform linux/amd64,linux/arm64 -t greystone/slogan-generator:$VERSION --push .

0 comments on commit 3c6e79c

Please sign in to comment.