File tree Expand file tree Collapse file tree 2 files changed +0
-55
lines changed Expand file tree Collapse file tree 2 files changed +0
-55
lines changed Original file line number Diff line number Diff line change 1111 mcad-version :
1212 description : ' Published version of multi-cluster-app-dispatcher to be used as a dependency for InstaScale (for example: v0.0.0)'
1313 required : true
14- is-stable :
15- description : ' Select if the built image should be tagged as stable'
16- required : true
17- type : boolean
18- quay-organization :
19- description : ' Quay organization used to push the built images to'
20- required : false
21- default : ' project-codeflare'
2214
2315jobs :
2416 release :
6153 - name : Test
6254 run : go test -v ./...
6355
64- # Build and push the image
65- - name : Login to Quay.io
66- uses : redhat-actions/podman-login@v1
67- with :
68- username : ${{ secrets.QUAY_ID }}
69- password : ${{ secrets.QUAY_TOKEN }}
70- registry : quay.io
71- - name : Image Build and Push
72- run : |
73- make image-build -e IMG=quay.io/${{ github.event.inputs.quay-organization }}/instascale-controller:${{ github.event.inputs.tag }}
74- make image-push -e IMG=quay.io/${{ github.event.inputs.quay-organization }}/instascale-controller:${{ github.event.inputs.tag }}
75- - name : Image Push as stable tag
76- if : ${{ inputs.is-stable }}
77- run : |
78- podman tag quay.io/${{ github.event.inputs.quay-organization }}/instascale-controller:${{ github.event.inputs.tag }} quay.io/${{ github.event.inputs.quay-organization }}/instascale-controller:stable
79- make image-push -e IMG=quay.io/${{ github.event.inputs.quay-organization }}/instascale-controller:stable
80-
8156 # Update dependencies
8257 - name : Commit go.mod and go.sum changes to the branch
8358 uses : stefanzweifel/git-auto-commit-action@v4
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments