From c1deba853876c3e5d110d024cc3bccb37a6250e9 Mon Sep 17 00:00:00 2001 From: Stephan Krusche Date: Sat, 10 Sep 2022 21:24:05 +0200 Subject: [PATCH] Update README.md --- README.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) 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.