File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change 11name : " Build OBaaS OpenJDK Base Image"
2-
32on :
43 schedule :
54 - cron : " 0 0 * * *"
65 workflow_dispatch :
7- inputs :
8- base_version :
9- description : " OpenJDK version to build (leave empty to build all)"
10- required : false
11- default : " "
12-
136env :
147 dst_img : openjdk-image-obaas
158 description : " OpenJDK OBaaS Image."
16-
179jobs :
1810 obaas-image :
1911 strategy :
2012 matrix :
21- base_version : ${{ github.event.inputs.base_version != '' && [ github.event.inputs.base_version ] || [ 17,21,24] }}
13+ base_version : [ 17, 21, 24]
2214 runs-on : ubuntu-latest
2315 permissions :
2416 packages : write
3729
3830 - name : Get latest Image Software Digest
3931 run : |
40- latest_digest=$(docker run --rm --entrypoint cat ghcr.io/${{ github.repository_owner }}/${{ env.dst_img }}:${{ matrix.base_version }} /image_digest || true )
32+ latest_digest=$(docker run --rm --entrypoint cat ghcr.io/${{ github.repository_owner }}/${{ env.dst_img }}:${{ matrix.base_version }} /image_digest)
4133 echo "Current Digest: $latest_digest"
4234 echo "latest_digest=$latest_digest" >> $GITHUB_ENV
4335 continue-on-error : true
You can’t perform that action at this time.
0 commit comments