Skip to content

Commit

Permalink
Update Docker publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
3cky committed Mar 27, 2024
1 parent 91f8e35 commit ac927aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ac927aa

Please sign in to comment.