File tree Expand file tree Collapse file tree 2 files changed +7
-11
lines changed
Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 4040 - name : Build Docker Image
4141 run : |
4242 docker build \
43- --build-arg GITLAB_TOKEN='${{ secrets.GITLAB_TOKEN }}' \
4443 --tag "ghcr.io/simplyedit/simplycode-docker:${{ env.TAG }}" \
4544 .
4645 docker push "ghcr.io/simplyedit/simplycode-docker:${{ env.TAG }}"
Original file line number Diff line number Diff line change 11FROM php:7.4-apache as builder
22
3- ARG GITLAB_TOKEN
4- ENV GITLAB_TOKEN="${GITLAB_TOKEN?}"
5-
63RUN apt-get update && apt-get install -y git ssl-cert \
74 && git clone 'https://github.com/SimplyEdit/simply-edit-backend.git' /app/simply-edit-backend \
8- && git clone " https://token:${GITLAB_TOKEN}@gitlab.muze.nl/muze/simply-code .git" /app/simply-code
5+ && git clone ' https://github.com/SimplyEdit/simplycode .git' /app/simplycode
96
107FROM php:7.4-apache
118
12- COPY --from=builder /app/simply-code /lib /var/www/lib
13- COPY --from=builder /app/simply-code /www/api/.htaccess /var/www/html/api/.htaccess
14- COPY --from=builder /app/simply-code /www/api/data/generated.html /var/www/html/simplycode/index.html
15- COPY --from=builder /app/simply-code /www/api/index.php /var/www/html/api/index.php
16- COPY --from=builder /app/simply-code /www/css /var/www/html/simplycode/css
17- COPY --from=builder /app/simply-code /www/js /var/www/html/simplycode/js
9+ COPY --from=builder /app/simplycode /lib /var/www/lib
10+ COPY --from=builder /app/simplycode /www/api/.htaccess /var/www/html/api/.htaccess
11+ COPY --from=builder /app/simplycode /www/api/data/generated.html /var/www/html/simplycode/index.html
12+ COPY --from=builder /app/simplycode /www/api/index.php /var/www/html/api/index.php
13+ COPY --from=builder /app/simplycode /www/css /var/www/html/simplycode/css
14+ COPY --from=builder /app/simplycode /www/js /var/www/html/simplycode/js
1815
1916COPY --from=builder /app/simply-edit-backend /var/www/html/simplycode/simplyedit
2017
You can’t perform that action at this time.
0 commit comments