Merge pull request #1855 from crazy-max/disable-frontend-daily
Disable frontend build on schedule eventv0.8
commit
bee08c6c63
|
@ -408,6 +408,7 @@ jobs:
|
|||
|
||||
frontend-base:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name != 'schedule'
|
||||
outputs:
|
||||
typ: ${{ steps.prep.outputs.typ }}
|
||||
tag: ${{ steps.prep.outputs.tag }}
|
||||
|
@ -420,11 +421,7 @@ jobs:
|
|||
TYP=master
|
||||
TAG=mainline
|
||||
PUSH=false
|
||||
if [ "${{ github.event_name }}" = "schedule" ]; then
|
||||
TYP=daily
|
||||
TAG=_
|
||||
PUSH=push
|
||||
elif [[ $GITHUB_REF == refs/tags/dockerfile/* ]]; then
|
||||
if [[ $GITHUB_REF == refs/tags/dockerfile/* ]]; then
|
||||
TYP=tag
|
||||
TAG=${GITHUB_REF#refs/tags/}
|
||||
PUSH=push
|
||||
|
@ -437,6 +434,7 @@ jobs:
|
|||
|
||||
frontend-image:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name != 'schedule'
|
||||
needs: [frontend-base, test]
|
||||
steps:
|
||||
-
|
||||
|
|
Loading…
Reference in New Issue