Update Docker publish workflow

This commit is contained in:
Victor Antonovich 2024-03-27 23:55:11 +03:00
parent 91f8e35eae
commit ac927aa19a
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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.