diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index d3b788a..253270e 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -1,11 +1,12 @@ name: docker publish on: + push: + tags: [ 'v[0-9].[0-9]+.[0-9]+' ] workflow_run: workflows: [ 'build' ] types: [ completed ] branches: [ 'master' ] - tags: [ 'v*' ] env: PLATFORMS: linux/amd64,linux/arm64,linux/arm/v7 @@ -42,7 +43,6 @@ jobs: images: ${{ env.IMAGE_NAME }} tags: | type=ref,event=branch - type=ref,event=pr type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=sha diff --git a/README.md b/README.md index 42ccc9e..c650cd8 100644 --- a/README.md +++ b/README.md @@ -150,7 +150,7 @@ docker run -d --privileged \ -p 502:502 \ -v /dev:/dev \ -v /path/to/mbusd.conf:/etc/mbusd.conf \ - 3cky/mbusd + 3cky/mbusd:latest ``` where `/path/to/mbusd.conf` is the path to **mbusd** config file in the local filesystem.