Skip to content

Commit 5b3c79b

Browse files
committed
Update docker-ci-tags.yml
1 parent 4b4b8b7 commit 5b3c79b

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/docker-ci-tags.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1+
# https://github.com/docker/metadata-action
12
# https://github.com/docker/build-push-action/blob/master/docs/advanced/tags-labels.md
23
name: docker-ci-tags
34

45
on:
5-
schedule:
6-
- cron: '0 10 * * *' # everyday at 10am
76
push:
8-
# branches:
9-
# - '**'
7+
branches:
8+
- 'master'
109
tags:
11-
- 'v*.*.*'
10+
- 'v*'
1211
pull_request:
1312
branches:
1413
- 'master'
@@ -28,6 +27,8 @@ jobs:
2827
sqlpad/sqlpad
2928
# generate Docker tags based on the following events/attributes
3029
tags: |
30+
type=ref,event=branch
31+
type=ref,event=pr
3132
type=semver,pattern={{version}}
3233
type=semver,pattern={{major}}.{{minor}}
3334
type=semver,pattern={{major}}

0 commit comments

Comments
 (0)