Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Krusche authored Sep 10, 2022
1 parent 14a0cc9 commit c1deba8
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,13 @@ Docker Container for Docker Hub

### Publish to Dockerhub

docker build --no-cache -t ls1tum/artemis-maven-template:<tagname> .

docker push ls1tum/artemis-maven-template:<tagname>


docker buildx build --no-cache -t ls1tum/artemis-maven-template:<tagname> . --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.

0 comments on commit c1deba8

Please sign in to comment.