File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 'BASE_IMAGE' : |-
33 ${{ vars.BASE_IMAGE || 'adguard/go-builder:1.26.5--1' }}
44 'CACHE_BUSTER' : |-
5- ${{ vars.CACHE_BUSTER || '0' }}
5+ ${{ inputs.cache_buster || '0' }}
66' jobs ' :
77 ' LintAndTestJobDocker ' :
88 'if' : |
113113 ' push ' :
114114 ' branches ' :
115115 - ' *'
116- ' workflow_dispatch ' : null
116+ ' workflow_dispatch ' :
117+ ' inputs ' :
118+ ' cache_buster ' :
119+ ' default ' : ' '
120+ 'description' : |
121+ Override to force re-run of cached stages (pass any unique value).
122+ ' type ' : ' string'
117123# Permissions are disabled for all the jobs by default, and then overridden for
118124# specific jobs if needed. This is a recommended practice for security reasons,
119125# and also allows to avoid mistakes with permissions when creating new jobs.
Original file line number Diff line number Diff line change 11' env ' :
22 'BASE_IMAGE' : |-
33 ${{ vars.BASE_IMAGE || 'adguard/go-builder:1.26.5--1' }}
4- 'CACHE_BUSTER' : |-
5- ${{ vars.CACHE_BUSTER || '0' }}
64 'DIST_DIR' : |-
75 build
86' jobs ' :
3230 APP_VERSION=${{ github.ref_name }}
3331 BASE_IMAGE=${{ env.BASE_IMAGE }}
3432 BRANCH=${{ github.ref_name }}
35- CACHE_BUSTER=${{ env.CACHE_BUSTER }}
33+ CACHE_BUSTER=${{ inputs.cache_buster || '0' }}
3634 DIST_DIR=${{ env.DIST_DIR }}
3735 REVISION=${{ github.sha }}
3836 SOURCE_DATE_EPOCH=${{ env.SOURCE_DATE_EPOCH }}
8381 - ' v*'
8482 ' branches ' :
8583 - ' master'
86- ' workflow_dispatch ' : null
84+ ' workflow_dispatch ' :
85+ ' inputs ' :
86+ ' cache_buster ' :
87+ ' default ' : ' '
88+ 'description' : |
89+ Override to force re-run of cached stages (pass any unique value).
90+ ' type ' : ' string'
8791# Permissions are disabled for all the jobs by default, and then overridden for
8892# specific jobs if needed. This is a recommended practice for security reasons,
8993# and also allows to avoid mistakes with permissions when creating new jobs.
You can’t perform that action at this time.
0 commit comments