Skip to content

Commit b478519

Browse files
committed
consolidate
1 parent 1f6cae7 commit b478519

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/build-push-image.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@ on:
55
branches:
66
- main
77
- 'release/**'
8+
tags:
9+
- 'v[0-9]+.[0-9]+.[0-9]+'
810
# pull_request:
911
# branches: [ "main" ]
1012

1113
jobs:
1214

1315
push_to_registry:
14-
name: Push Docker image to Docker Hub by @${{ github.actor }}
16+
name: Build and push Docker image to Docker Hub by @${{ github.actor }}
1517

1618
runs-on: ubuntu-latest
1719

@@ -35,7 +37,6 @@ jobs:
3537
type=ref,event=branch
3638
type=ref,event=tag
3739
type=ref,event=pr
38-
type=match,pattern=release\/([0-9]\.[0-9]+)$,group=0,suffix=-latest
3940
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }}
4041
4142
- name: Build and push Docker image

0 commit comments

Comments
 (0)