chore: docker tag
All checks were successful
Release to Gitea Container Registry / build_and_push (push) Successful in 11s

This commit is contained in:
Stixx 2024-11-06 17:52:53 +01:00
parent 077f388cd0
commit 9a94f6ea33
3 changed files with 4 additions and 3 deletions

View File

@ -22,5 +22,8 @@ jobs:
- name: Build Docker image - name: Build Docker image
run: docker build -t git.nostrdev.com/stuff/blossom-cloudron . 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 - name: Push Docker image
run: docker push git.nostrdev.com/stuff/blossom-cloudron run: docker push git.nostrdev.com/stuff/blossom-cloudron

View File

@ -45,5 +45,6 @@ VOLUME [ "/app/data" ]
EXPOSE 3000 EXPOSE 3000
ENV DEBUG="blossom-server,blossom-server:*" ENV DEBUG="blossom-server,blossom-server:*"
ENV BLOSSOM_CONFIG="data/config.yml"
CMD [ "/app/start.sh" ] CMD [ "/app/start.sh" ]

View File

@ -6,8 +6,5 @@ cp config.example.yml /app/data/config.yml
echo "==> Changing ownership" echo "==> Changing ownership"
chown -R cloudron:cloudron /app/data chown -R cloudron:cloudron /app/data
echo "==> Set BLOSSOM_CONFIG path to env"
export BLOSSOM_CONFIG=data/config.yml
echo "==> Starting Blossom" echo "==> Starting Blossom"
exec /usr/local/bin/gosu cloudron:cloudron node /app exec /usr/local/bin/gosu cloudron:cloudron node /app