Skip to content

Commit

Permalink
Merge pull request #8 from AjitPadhi-Microsoft/dev-test
Browse files Browse the repository at this point in the history
updated workflow
  • Loading branch information
AjitPadhi-Microsoft authored Dec 5, 2024
2 parents b83126c + b3b9553 commit bc8a6c2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@ on:
merge_group:

jobs:
test-job:
name: Test Step
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.workflow_run.head_branch }}
- run: git branch
- run: env

docker-build:
if: ${{ github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' }}
strategy:
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ jobs:
docker-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.workflow_run.head_branch }}
- run: git branch
- run: env

- name: Docker Login
if: ${{ inputs.push == true && github.ref_name == 'main' }}
Expand Down

0 comments on commit bc8a6c2

Please sign in to comment.