Skip to content

Commit cbcbe7c

Browse files
committed
Add checkout for expected canarytokens-docker repo
1 parent 2a7edbd commit cbcbe7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/build_docker.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
cd /home/ubuntu/canarytokens-scripts/
8787
./canarytokensdb_s3backup.sh
8888
cd /home/ubuntu/canarytokens-docker
89-
git stash && git pull
89+
git stash && git checkout ${{ env.CANARYTOKENS_DOCKER_BRANCH }} && git pull
9090
sed "s/thinkst\/canarytokens$/thinkst\/canarytokens:${GITHUB_REF##*/}/g" common-services.yml > common-services-${GITHUB_REF##*/}.yml
9191
sed "s/file: common-services.yml/file: common-services-${GITHUB_REF##*/}.yml/g" docker-compose-letsencrypt.yml > docker-compose-letsencrypt-${GITHUB_REF##*/}.yml
9292
sed -i'' "s/CANARY_DEV_BUILD_ID=.*/CANARY_DEV_BUILD_ID=${GITHUB_SHA:0:8}/" frontend.env

0 commit comments

Comments
 (0)