Skip to content

Commit

Permalink
fixed buildTest.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
Waqar-ukaea committed Jul 1, 2024
1 parent 7a3a62b commit 690dc92
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/buildTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,15 @@ jobs:
run: echo $PRCOMMITSHA
- name: DockerBuildTestPull
if: ${{ github.event.pull_request.head.sha != '' }}
run: docker build -t ci-dagmc-ubuntu \
run: |
docker build -t ci-dagmc-ubuntu \
--build-arg build_git_sha="${PRCOMMITSHA:-$GITHUB_SHA}" \
--build-arg build_git_repo="${PRREPOSITORY:-$GITHUB_REPOSITORY}" \
docker/limited_build/
- name: DockerBuildTestPush
if: ${{ github.event.pull_request.head.sha == '' }}
run: docker build -t ci-dagmc-ubuntu \
run: |
docker build -t ci-dagmc-ubuntu \
--build-arg build_git_sha="${PRCOMMITSHA:-$GITHUB_SHA}" \
--build-arg build_git_repo="${PRREPOSITORY:-$GITHUB_REPOSITORY}" \
docker/limited_build/

0 comments on commit 690dc92

Please sign in to comment.