Skip to content

Commit

Permalink
Merge pull request loxilb-io#563 from TrekkieCoder/main
Browse files Browse the repository at this point in the history
cicd: properly sequence build related actions
  • Loading branch information
UltraInstinct14 authored Mar 3, 2024
2 parents 1458506 + 8818c17 commit 16c068f
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/basic-sanity-ubuntu-22.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
name: Sanity-CI-Ubuntu-22
on:
push:
branches:
- main
pull_request:
branches: [ "main" ]
workflow_dispatch:
inputs:
testName:
description: 'Test Run-Name'
required: true
default: 'Sanity-BuildCI-u22'
workflow_run:
workflows: ["Build-CI"]
types:
- completed
jobs:
build:
name: basic-sanity-ubuntu-22
Expand Down Expand Up @@ -66,5 +72,5 @@ jobs:
- name: Publish the latest loxilb Docker image
if: |
github.repository == 'loxilb-io/loxilb' && github.event_name != 'pull_request'
github.repository == 'loxilb-io/loxilb' && (github.event_name == 'workflow_run' || github.event_name == 'workflow_dispatch')
run: docker push ghcr.io/loxilb-io/loxilb:latestu22

0 comments on commit 16c068f

Please sign in to comment.