File tree 2 files changed +3
-3
lines changed
actions/build-container-image
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 63
63
id : build-and-push
64
64
uses : docker/build-push-action@ac9327eae2b366085ac7f6a2d02df8aa8ead720a
65
65
with :
66
- push : ${{ github.event.pull_request.merged == true }}
66
+ push : ${{ github.event_name == 'push' }}
67
67
context : .
68
68
platforms : linux/${{ inputs.arch }}
69
69
file : Dockerfile.${{ inputs.arch }}
Original file line number Diff line number Diff line change 47
47
token : ${{ secrets.GITHUB_TOKEN }}
48
48
49
49
push-container-image :
50
- if : github.event.pull_request.merged == true
50
+ if : github.event_name == 'push'
51
51
runs-on : ubuntu-latest
52
52
needs : build-container-image
53
53
steps :
@@ -114,7 +114,7 @@ jobs:
114
114
uses : actions/download-artifact@v2
115
115
116
116
- name : Upload artifacts to build results
117
- if : github.event.pull_request.merged == true
117
+ if : github.event_name == 'push'
118
118
uses : marvinpinto/action-automatic-releases@latest
119
119
with :
120
120
repo_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments