Skip to content

Commit

Permalink
Update build_and_deploy_misc.yml
Browse files Browse the repository at this point in the history
Only run complex image build if standard image build succeeded.
  • Loading branch information
dometto authored Jan 13, 2025
1 parent f6f18f0 commit 8803a6e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build_and_deploy_misc.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
---
# This workflow is to build images that themselves are based on the base images.
# Accordingly, it should be run after the build of the base images.
name: Build and Deploy complex images
name: Build and Deploy complex Ubuntu images
on:
schedule:
- cron: '22 1 * * 1' # 22 past 01:00 on Monday
workflow_run:
workflows: ["Build and Deploy Ubuntu images"]
types:
- completed
workflow_dispatch:
push:
branches:
Expand All @@ -16,6 +18,7 @@ on:

jobs:
build_and_deploy:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
env:
ANSIBLE_VERSION: 2.15.5
Expand Down

0 comments on commit 8803a6e

Please sign in to comment.