Skip to content

Commit b61c32d

Browse files
committed
.
1 parent 0e6b8b0 commit b61c32d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build_docker.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
cd /home/ubuntu/canarytokens-scripts/
9292
./canarytokensdb_s3backup.sh
9393
cd /home/ubuntu/canarytokens-docker
94-
git stash && git checkout $CANARYTOKENS_DOCKER_BRANCH && git pull
94+
git stash && git checkout ${{ env.CANARYTOKENS_DOCKER_BRANCH }} && git pull
9595
sed "s/thinkst\/canarytokens$/thinkst\/canarytokens:${GITHUB_REF##*/}/g" common-services.yml > common-services-${GITHUB_REF##*/}.yml
9696
sed "s/file: common-services.yml/file: common-services-${GITHUB_REF##*/}.yml/g" docker-compose-letsencrypt.yml > docker-compose-letsencrypt-${GITHUB_REF##*/}.yml
9797
sed -i'' "s/CANARY_DEV_BUILD_ID=.*/CANARY_DEV_BUILD_ID=${GITHUB_SHA:0:8}/" frontend.env
@@ -111,7 +111,7 @@ jobs:
111111
cd /home/ubuntu/canarytokens-scripts/
112112
./canarytokensdb_s3backup.sh
113113
cd /home/ubuntu/canarytokens-docker
114-
git stash && git checkout $CANARYTOKENS_DOCKER_BRANCH && git pull
114+
git stash && git checkout ${{ env.CANARYTOKENS_DOCKER_BRANCH }} && git pull
115115
sed "s/thinkst\/canarytokens$/thinkst\/canarytokens:${GITHUB_REF##*/}/g" common-services.yml > common-services-${GITHUB_REF##*/}.yml
116116
sed "s/file: common-services.yml/file: common-services-${GITHUB_REF##*/}.yml/g" docker-compose-aws-logging-letsencrypt.yml > docker-compose-aws-logging-letsencrypt-${GITHUB_REF##*/}.yml
117117
sed -i'' "s/CANARY_DEV_BUILD_ID=.*/CANARY_DEV_BUILD_ID=${GITHUB_SHA:0:8}/" frontend.env

0 commit comments

Comments
 (0)