File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,10 @@ name: docker
2
2
3
3
on :
4
4
schedule :
5
- - cron : ' 19 17 * * *' # Nightly builds capture upstream updates to dependency images such as node.
5
+ # Nightly builds capture upstream updates to dependency images such as node.
6
+ - cron : ' 19 17 * * *'
6
7
push :
7
- branches : [ master, 'release-*.*.*' ]
8
+ branches : [ master ]
8
9
tags : [ '*.*.*' ]
9
10
10
11
env :
22
23
steps :
23
24
- name : Determine branch name
24
25
id : branch
25
- run : echo ::set-output name=branch_name::${GITHUB_REF#refs/*/}
26
+ run : echo " ::set-output name=branch_name::${GITHUB_REF#refs/*/}"
26
27
27
28
- name : Checkout repository
28
29
uses : actions/checkout@v2
47
48
with :
48
49
images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
49
50
flavor : |
50
- latest=${{ steps.branch.branch_name == 'master' }}
51
+ latest=${{ steps.branch.outputs. branch_name == 'master' }}
51
52
52
53
- name : Build and push Docker image
53
54
uses : docker/build-push-action@v2
You can’t perform that action at this time.
0 commit comments