Skip to content

Commit

Permalink
fix incorrect build path
Browse files Browse the repository at this point in the history
Signed-off-by: youliang <[email protected]>
  • Loading branch information
youliangtan committed May 12, 2021
1 parent 3e99297 commit f1ba9b9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ jobs:
- uses: actions/checkout@v2
# Merge to main/nightly, build image as: rmf_demos:latest
# Open PR, build image as: rmf_demos:test
- name: build rmf image and push to gh registry, default tag latest
if: ${{ github.event_name == 'push' }}
- name: build rmf image with ${{ github.event_name == 'pull_request' && 'test' || 'latest' }} tag
uses: docker/build-push-action@v1
with:
username: ${{ github.actor }}
Expand All @@ -31,7 +30,7 @@ jobs:
runs-on: ubuntu-latest
container:
# Will use tag test if a open pr, for main, use latest
image: docker.pkg.github.com/tanyouliang95/rmf/rmf_demos:${{ github.event_name == 'pull_request' && 'test' || 'latest' }}
image: docker.pkg.github.com/open-rmf/rmf/rmf_demos:${{ github.event_name == 'pull_request' && 'test' || 'latest' }}
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit f1ba9b9

Please sign in to comment.