Skip to content

Commit ac927aa

Browse files
committed
Update Docker publish workflow
1 parent 91f8e35 commit ac927aa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/docker-publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
name: docker publish
22

33
on:
4+
push:
5+
tags: [ 'v[0-9].[0-9]+.[0-9]+' ]
46
workflow_run:
57
workflows: [ 'build' ]
68
types: [ completed ]
79
branches: [ 'master' ]
8-
tags: [ 'v*' ]
910

1011
env:
1112
PLATFORMS: linux/amd64,linux/arm64,linux/arm/v7
@@ -42,7 +43,6 @@ jobs:
4243
images: ${{ env.IMAGE_NAME }}
4344
tags: |
4445
type=ref,event=branch
45-
type=ref,event=pr
4646
type=semver,pattern={{version}}
4747
type=semver,pattern={{major}}.{{minor}}
4848
type=sha

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ docker run -d --privileged \
150150
-p 502:502 \
151151
-v /dev:/dev \
152152
-v /path/to/mbusd.conf:/etc/mbusd.conf \
153-
3cky/mbusd
153+
3cky/mbusd:latest
154154
```
155155

156156
where `/path/to/mbusd.conf` is the path to **mbusd** config file in the local filesystem.

0 commit comments

Comments
 (0)