Skip to content

Commit

Permalink
fix: merge both jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
zsinx6 committed Feb 14, 2025
1 parent e264c18 commit e0ff721
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/test-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
# uses: ./.github/workflows/build-image.yml
# with:
# sha: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
call-build-workflow:
name: call-build-workflow
validate-image:
name: validate-image
runs-on: self-hosted
steps:
- name: Checkout code
Expand All @@ -30,11 +30,6 @@ jobs:
run: |
poetry run image-factory build democluster
validate-image:
name: validate-image
runs-on: self-hosted
needs: call-build-workflow
steps:
- name: Copy built image to target location
run: |
cp democluster/final/democluster.img .
Expand Down

0 comments on commit e0ff721

Please sign in to comment.