diff --git a/.github/workflows/dockerhub.yml b/.github/workflows/dockerhub.yml index 2e01779..b7b18fb 100644 --- a/.github/workflows/dockerhub.yml +++ b/.github/workflows/dockerhub.yml @@ -3,7 +3,7 @@ name: Publish Docker image to Dockerhub on: push: tags: - - '*.*.*' + - 'v*' jobs: push_to_registry: @@ -27,11 +27,9 @@ jobs: images: krateng/maloja # generate Docker tags based on the following events/attributes tags: | - type=raw,value=latest,enable=${{ endsWith(github.ref, 'master') }} - type=ref,event=branch,enable=${{ !endsWith(github.ref, 'master') }} type=semver,pattern={{version}} flavor: | - latest=false + latest=true - name: Build and push Docker image uses: docker/build-push-action@v2 diff --git a/README.md b/README.md index cec9e58..601a234 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,11 @@ # Maloja -[](https://pypi.org/project/malojaserver/) +[](https://github.com/krateng/maloja) +[](https://pypi.org/project/malojaserver/) +[](https://hub.docker.com/r/krateng/maloja) + [](https://github.com/krateng/maloja/blob/master/LICENSE) [](https://codeclimate.com/github/krateng/maloja) -[](https://hub.docker.com/r/krateng/maloja) - Simple self-hosted music scrobble database to create personal listening statistics. No recommendations, no social network, no nonsense. @@ -91,7 +92,7 @@ Of note for docker users are these settings which should be passed as environmen The [`Dockerfile`](Dockerfile) builds Maloja from source. Images are available on [**Dockerhub**](https://hub.docker.com/r/krateng/maloja): -* `latest` -- image is built from the `master` branch of this repository +* `latest` -- image is built from the latest official release * `X.XX.XX` -- images are built from the [repository tags](https://github.com/krateng/maloja/tags) and *should* coincide with [pypi versions](https://pypi.org/project/malojaserver/) of maloja #### From PyPi