File tree Expand file tree Collapse file tree 2 files changed +17
-17
lines changed Expand file tree Collapse file tree 2 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 1+ name : Build Docker image
2+
3+ on :
4+ push :
5+ branches :
6+ - ' *'
7+
8+ jobs :
9+ build :
10+ name : Build
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Build
14+ uses : docker/build-push-action@v3
15+ with :
16+ push : false
Original file line number Diff line number Diff line change @@ -2,25 +2,10 @@ name: Docker Build And Push To Docker Hub
22
33on :
44 push :
5- branches :
6- - ' *'
75 tags :
86 - ' v*.*.*'
97
108jobs :
11- build :
12- name : Build
13- runs-on : ubuntu-latest
14- steps :
15- - name : Git Checkout Code
16- uses : actions/checkout@v3
17- id : git_checkout
18-
19- - name : Build and push
20- uses : docker/build-push-action@v3
21- with :
22- push : false
23-
249 deployment :
2510 name : Deployment
2611 runs-on : ubuntu-latest
3823 # generate Docker tags based on the following events/attributes
3924 tags : |
4025 type=schedule,pattern={{date 'YYYYMMDD'}}
41- type=ref,event=branch
42- type=ref,event=pr
26+ type=ref,event=tag
4327 type=semver,pattern={{version}}
4428 type=semver,pattern={{major}}.{{minor}}
4529 type=semver,pattern={{major}}
You can’t perform that action at this time.
0 commit comments