File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build Golden Base Image
2+
13on :
4+ push :
5+ branches :
6+ - ' chore/improve-ci'
27 workflow_dispatch :
38 inputs :
49 release_tag :
510 description : ' Image tag (e.g., v7.0.0-dev)'
611 required : true
12+ default : ' v7.0.0-dev'
713 danger_version :
8- description : ' dsDangerClient version/ branch'
14+ description : ' dsDangerClient branch/tag '
915 required : true
1016 default : ' v7.0.0-dev'
1117
1218jobs :
1319 build :
1420 runs-on : ubuntu-latest
1521 permissions :
22+ contents : read
1623 packages : write
24+
1725 steps :
18- - uses : actions/checkout@v4
26+ - name : Checkout code
27+ uses : actions/checkout@v4
28+
1929 - name : Log in to GHCR
2030 uses : docker/login-action@v3
2131 with :
2939 context : .
3040 push : true
3141 build-args : |
32- DANGER_VERSION=${{ github.event.inputs.danger_version }}
33- tags : ghcr.io/${{ github.repository_owner }}/ds-base-env:${{ github.event.inputs.release_tag }}
42+ DANGER_VERSION=${{ github.event.inputs.danger_version || 'v7.0.0-dev' }}
43+ tags : |
44+ ghcr.io/${{ github.repository_owner }}/ds-base-env:${{ github.event.inputs.release_tag || 'v7.0.0-dev' }}
You can’t perform that action at this time.
0 commit comments