Skip to content

Commit af8c5d6

Browse files
Enable letsencrypt configuration from env vars
1 parent a8a7b49 commit af8c5d6

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/push-web-only.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,8 @@ jobs:
7878
cp ./samples/web_only.yml ./containers/web_only.yml
7979
sed -Ei 's/^ *+#?version:.*/ version: ${{ matrix.version }}/' ./containers/web_only.yml
8080
sed -Ei '/^ *+- "templates\/web.template.yml"/a\ - "templates/offline-page.template.yml"' ./containers/web_only.yml
81-
# TODO: enable lets encrypt build
82-
# Once https://github.com/discourse/discourse_docker/pull/977 is merged
83-
# uncomment the next two lines to apply the let's encrypt template to the base image
84-
#sed -Ei 's/^ *+#- "templates\/web.ssl.template.yml"/ - "templates\/web.ssl.template.yml"/' ./containers/web_only.yml
85-
#sed -Ei 's/^ *+#- "templates\/web.letsencrypt.ssl.template.yml"/ - "templates\/web.letsencrypt.ssl.template.yml"/' ./containers/web_only.yml
81+
sed -Ei 's/^ *+#- "templates\/web.ssl.template.yml"/ - "templates\/web.ssl.template.yml"/' ./containers/web_only.yml
82+
sed -Ei 's/^ *+#- "templates\/web.letsencrypt.ssl.template.yml"/ - "templates\/web.letsencrypt.ssl.template.yml"/' ./containers/web_only.yml
8683
bin/launcher build web_only \
8784
--tag ${{ env.DOCKER_REPO }}:${{ env.FLOATING_TAG }} \
8885
--tag ${{ env.DOCKER_REPO }}:${{ env.TAG }} \

0 commit comments

Comments
 (0)