diff --git a/README.md b/README.md index 118b78d..839cbab 100644 --- a/README.md +++ b/README.md @@ -19,15 +19,13 @@ Docker Container for Docker Hub ### Publish to Dockerhub - docker build --no-cache -t ls1tum/artemis-maven-template: . - - docker push ls1tum/artemis-maven-template: - - + docker buildx build --no-cache -t ls1tum/artemis-maven-template: . --push --platform=linux/arm64,linux/amd64 #### Example - docker build --no-cache -t ls1tum/artemis-maven-template:java17-3 . - - docker push ls1tum/artemis-maven-template:java17-3 + docker buildx build --no-cache -t ls1tum/artemis-maven-template:java17-9 . --push --platform=linux/arm64,linux/amd64 + +#### Github Action +Note that each commit will automatically lead to a new image on DockerHub using the `latest` tag. +Creating a release (with a unique tag) will automatically create a new image on DockerHub using the tag name.