File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Nightly image build workflow
2+
3+ on :
4+ schedule :
5+ - cron : " 0 3 * * *" # everyday at 3AM UTC
6+
7+ run-name : nightly-images
8+
9+ env :
10+ GIT_USER : ${{ secrets.GIT_USER }}
11+ GITHUB_TOKEN : ${{ secrets.GIT_TOKEN }}
12+
13+ jobs :
14+ release :
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - name : Login to quay.io
19+ uses : docker/login-action@v3
20+ with :
21+ registry : quay.io
22+ username : ${{ secrets.QUAY_USER }}
23+ password : ${{ secrets.QUAY_PWD }}
24+
25+ - uses : actions/checkout@v4
26+
27+ - name : Build and push nightly operator image
28+ run : |
29+ make docker-buildx \
30+ -e NIGHTLY=true
31+
32+ - name : Publish nigthly bundle in OpenShift OperatorHub
33+ run : |
34+ make bundle-publish-nightly \
35+ -e GIT_CONFIG_USER_NAME="$GIT_CONFIG_USER_NAME" \
36+ -e GIT_CONFIG_USER_EMAIL="$GIT_CONFIG_USER_EMAIL"
37+ env :
38+ GIT_CONFIG_USER_NAME : " ${{ github.actor }}"
39+ GIT_CONFIG_USER_EMAIL : " ${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
You can’t perform that action at this time.
0 commit comments