! Merge branch 'dev'
All checks were successful
Build docker image / build_docker_image (push) Successful in 4m15s
All checks were successful
Build docker image / build_docker_image (push) Successful in 4m15s
This commit is contained in:
@@ -74,7 +74,7 @@ RUN mkdir -p ${WORKDIR} ${PHP_FPM_LISTEN_DIR} ${LOG_DIR}
|
|||||||
# change ownership of folders to the user
|
# change ownership of folders to the user
|
||||||
RUN chown -R ${USER_ID}:${GROUP_ID} ${WORKDIR} ${PHP_FPM_LISTEN_DIR} ${LOG_DIR}
|
RUN chown -R ${USER_ID}:${GROUP_ID} ${WORKDIR} ${PHP_FPM_LISTEN_DIR} ${LOG_DIR}
|
||||||
|
|
||||||
# set tue workdir
|
# set the workdir
|
||||||
WORKDIR ${WORKDIR}
|
WORKDIR ${WORKDIR}
|
||||||
|
|
||||||
# copy the application
|
# copy the application
|
||||||
@@ -104,5 +104,5 @@ VOLUME [ "/app/Backend/database/sqlite" ]
|
|||||||
# define the exposed port
|
# define the exposed port
|
||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
|
|
||||||
# start the app
|
# setting entrypoint
|
||||||
CMD ["/usr/bin/supervisord"]
|
ENTRYPOINT ["/usr/bin/supervisord"]
|
||||||
|
|||||||
@@ -1,12 +1,16 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
PACKAGE_REPOSITORY=gitea.goliath.hu/packages/discord-bot-goliath-backend
|
echo This is a sample build script, if the workflow cannot be used.
|
||||||
|
echo Please customize the repository address/name for your own.
|
||||||
|
|
||||||
|
|
||||||
|
PACKAGE_REPOSITORY=proxima.goliath.hu/proxima/backend
|
||||||
BUILD_TAG=nginx
|
BUILD_TAG=nginx
|
||||||
PACKAGE_TAG=nginx
|
UID=$(id -u)
|
||||||
|
GID=$(id -g)
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
echo Building "${BUILD_TAG}" package with "${PACKAGE_TAG}" tag...
|
echo Building "${BUILD_TAG}" package ..
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
@@ -27,20 +31,21 @@ echo Determining tag name...
|
|||||||
branch=$(git branch --show-current)
|
branch=$(git branch --show-current)
|
||||||
tag=${PACKAGE_TAG:-temp}
|
tag=${PACKAGE_TAG:-temp}
|
||||||
|
|
||||||
#[[ $branch == dev ]] && tag=testing
|
[[ $branch == dev ]] && tag=testing
|
||||||
#[[ $branch == master ]] && tag=latest
|
[[ $branch == main ]] && tag=latest
|
||||||
#[[ $branch == features/nginx-server ]] && tag=nginx-joint
|
[[ $branch == master ]] && tag=latest
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
echo Building image...
|
echo Building image...
|
||||||
|
|
||||||
docker build \
|
docker build . \
|
||||||
--tag ${PACKAGE_REPOSITORY}:$tag \
|
--tag ${PACKAGE_REPOSITORY}:$tag \
|
||||||
--build-arg GROUP_ID=$(id -g) \
|
--build-arg GROUP_ID=${GID} \
|
||||||
--build-arg USER_ID=$(id -u) \
|
--build-arg USER_ID=${UID} \
|
||||||
--file build/${BUILD_TAG}/Dockerfile \
|
--file build/${BUILD_TAG}/Dockerfile \
|
||||||
.
|
--platform linux/amd64,linux/arm64 \
|
||||||
# --progress=plain \
|
--provenance=false \
|
||||||
|
--sbom=false \
|
||||||
# --push \
|
# --push \
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||

|
|
||||||

|

|
||||||
|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|||||||
706
src/public/images/logo.svg
Normal file
706
src/public/images/logo.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 29 KiB |
Reference in New Issue
Block a user