Skip to content

Commit b56196a

Browse files
authored
Merge pull request #5 from SimplyEdit/update/source-repo
Change build URL to public GitHub repo.
2 parents f663c76 + 3215802 commit b56196a

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

.github/workflows/docker-build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ jobs:
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 }}"

Dockerfile

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
FROM php:7.4-apache as builder
22

3-
ARG GITLAB_TOKEN
4-
ENV GITLAB_TOKEN="${GITLAB_TOKEN?}"
5-
63
RUN 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

107
FROM 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

1916
COPY --from=builder /app/simply-edit-backend /var/www/html/simplycode/simplyedit
2017

0 commit comments

Comments
 (0)