Skip to content

Commit

Permalink
Fix canarytokens-docker branch in GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
jayjb committed Dec 12, 2023
1 parent 815afef commit 5b89be4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ jobs:
# Checkout canarytokens-docker repo. This lands in ./canarytokens-docker
- name: Set canarytokens-docker-branch
run: |
BRANCH=$(if [ -z "${{ github.event.inputs.canarytokens-docker-branch}}" ]; then echo "master"; else echo "${{ github.event.inputs.canarytokens-docker-branch }}"; fi)
if [ -z "${{ github.event.inputs.canarytokens-docker-branch}}" ]; then
BRANCH="master"
else echo
BRANCH="${{ github.event.inputs.canarytokens-docker-branch }}"
fi
echo "CANARYTOKENS_DOCKER_BRANCH=$BRANCH" >> $GITHUB_ENV
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
Expand Down

0 comments on commit 5b89be4

Please sign in to comment.