File tree Expand file tree Collapse file tree 4 files changed +30
-7
lines changed
Expand file tree Collapse file tree 4 files changed +30
-7
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ v1.3
Original file line number Diff line number Diff line change 1+ name : Check Base Image
2+
3+ on :
4+ schedule :
5+ - cron : ' 0 0 * * *'
6+ workflow_dispatch :
7+
8+ jobs :
9+ check-and-trigger :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Docker Base Image Checker
13+ id : checkbaseimage
14+ 15+ with :
16+ base-image : " library/debian:buster-slim"
17+ image : " dontobi/motioneye.rpi:latest"
18+
19+ - if : steps.checkbaseimage.outputs.needs-updating == 'true'
20+ name : Trigger build
21+ 22+ with :
23+ workflow : Build Container (Stable)
24+ repo : dontobi/motioneye.rpi
25+ token : ${{ secrets.ACTIONS_PAT }}
Original file line number Diff line number Diff line change 1- # Github action to build Docker image from main branch (tag: latest)
1+ # Github action to build Docker image from main branch
22
3- name : Build Docker Image (main )
3+ name : Build Container (Stable )
44
55on :
6- workflow_dispatch :
76 release :
87 types :
98 - published
10- schedule :
11- - cron : ' 0 0 * * FRI'
9+ workflow_dispatch :
1210
1311jobs :
1412 bulid :
2321 - name : Get and write version
2422 id : version
2523 run : |
26- VERSION="$(cat .VERSION)"
24+ VERSION="$(cat .github/parameters/. VERSION)"
2725 DATI="$(date --rfc-3339=seconds | sed 's/ /T/')"
2826 echo "version=$VERSION" >> $GITHUB_ENV
2927 echo "dati=$DATI" >> $GITHUB_ENV
You can’t perform that action at this time.
0 commit comments