From 9a94f6ea33e3e97973ca09c415798ea3d69c6d1b Mon Sep 17 00:00:00 2001 From: Stixx Date: Wed, 6 Nov 2024 17:52:53 +0100 Subject: [PATCH] chore: docker tag --- .gitea/workflows/package.yml | 3 +++ Dockerfile | 1 + start.sh | 3 --- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/package.yml b/.gitea/workflows/package.yml index 9c38d7b..d3cb876 100644 --- a/.gitea/workflows/package.yml +++ b/.gitea/workflows/package.yml @@ -22,5 +22,8 @@ jobs: - name: Build Docker image run: docker build -t git.nostrdev.com/stuff/blossom-cloudron . + - name: Tag Docker image + run: docker tag git.nostrdev.com/stuff/blossom-cloudron:latest git.nostrdev.com/stuff/blossom-cloudron:latest + - name: Push Docker image run: docker push git.nostrdev.com/stuff/blossom-cloudron diff --git a/Dockerfile b/Dockerfile index 767513a..f5ee367 100644 --- a/Dockerfile +++ b/Dockerfile @@ -45,5 +45,6 @@ VOLUME [ "/app/data" ] EXPOSE 3000 ENV DEBUG="blossom-server,blossom-server:*" +ENV BLOSSOM_CONFIG="data/config.yml" CMD [ "/app/start.sh" ] diff --git a/start.sh b/start.sh index bb75f52..5745090 100644 --- a/start.sh +++ b/start.sh @@ -6,8 +6,5 @@ cp config.example.yml /app/data/config.yml echo "==> Changing ownership" chown -R cloudron:cloudron /app/data -echo "==> Set BLOSSOM_CONFIG path to env" -export BLOSSOM_CONFIG=data/config.yml - echo "==> Starting Blossom" exec /usr/local/bin/gosu cloudron:cloudron node /app