Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tsubramanian authored Aug 23, 2024
1 parent 74e250e commit 13c7b9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- uses: actions/checkout@v2
if: github.event_name == 'push' or github.event_name =='repository_dispatch'
if: ${{ github.event_name == 'push' || github.event_name =='repository_dispatch'}}
with:
ref: buildDepCMaker4Scoutbot

Expand All @@ -47,7 +47,7 @@ jobs:
password: ${{ secrets.WBIA_WILDMEBOT_DOCKER_HUB_TOKEN }}

- name: Push to Docker Hub (Latest)
if: ${{ github.event_name == 'push' or github.event_name =='repository_dispatch' }}
if: ${{ github.event_name == 'push' || github.event_name =='repository_dispatch' }}
run: |
VERSION=$(echo ${GITHUB_REF} | sed 's#.*/v##')
bash ./publish.sh -t latest ${PUBLISH_IMAGES}
Expand Down

0 comments on commit 13c7b9d

Please sign in to comment.