We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14c7112 commit c141157Copy full SHA for c141157
1 file changed
.github/workflows/push.yml
@@ -11,7 +11,10 @@ name: Publish Docker image
11
12
on:
13
push:
14
- branches: [main]
+ branches:
15
+ - 'main'
16
+ tags:
17
+ - '*'
18
19
jobs:
20
push_to_registry:
@@ -38,6 +41,11 @@ jobs:
38
41
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
39
42
with:
40
43
images: kodermax/kubectl-aws-eks
44
+ tags: |
45
+ type=semver,pattern={{version}}
46
+ type=semver,pattern={{major}}.{{minor}}
47
+ type=semver,pattern={{major}}
48
+ type=ref,event=branch
49
50
- name: Build and push Docker image
51
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
0 commit comments