Skip to content

Commit cb45487

Browse files
authored
chore(docker publish action): use tag names
1 parent 0f7a08b commit cb45487

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: Publish Docker
33
# Controls when the action will run. Triggers the workflow on push or pull request
44
# events but only for the master branch
55
on:
6+
release:
7+
types: [published]
68
push:
79
branches: [ master, slim, alpine ]
810
jobs:
@@ -16,3 +18,4 @@ jobs:
1618
name: felubra/npm-script-webhook
1719
username: ${{ secrets.DOCKER_USERNAME }}
1820
password: ${{ secrets.DOCKER_PASSWORD }}
21+
tag_names: true

0 commit comments

Comments
 (0)