diff --git a/.github/workflows/build-docker-images.yml b/.github/workflows/build-docker-images.yml index 3b57b5c1d..e3ee0b77f 100644 --- a/.github/workflows/build-docker-images.yml +++ b/.github/workflows/build-docker-images.yml @@ -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: diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index ac91e5e59..46c0d959b 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -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' }}