Skip to content

Commit 5b89be4

Browse files
committed
Fix canarytokens-docker branch in GH action
1 parent 815afef commit 5b89be4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build_docker.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ jobs:
2222
# Checkout canarytokens-docker repo. This lands in ./canarytokens-docker
2323
- name: Set canarytokens-docker-branch
2424
run: |
25-
BRANCH=$(if [ -z "${{ github.event.inputs.canarytokens-docker-branch}}" ]; then echo "master"; else echo "${{ github.event.inputs.canarytokens-docker-branch }}"; fi)
25+
if [ -z "${{ github.event.inputs.canarytokens-docker-branch}}" ]; then
26+
BRANCH="master"
27+
else echo
28+
BRANCH="${{ github.event.inputs.canarytokens-docker-branch }}"
29+
fi
2630
echo "CANARYTOKENS_DOCKER_BRANCH=$BRANCH" >> $GITHUB_ENV
2731
2832
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f

0 commit comments

Comments
 (0)