This commit is contained in:
Traines 2024-12-18 02:18:13 +00:00
parent d24a341def
commit bc56d41fbe
2 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,8 @@ name: Build NPM Package & Docker
on:
push:
branches: [ "release" ]
tags:
- 'v*'
env:
REGISTRY: ghcr.io

View file

@ -4,7 +4,6 @@ LABEL org.opencontainers.image.description="A clean REST API wrapping around the
LABEL org.opencontainers.image.authors="Traines <git@traines.eu>"
LABEL org.opencontainers.image.documentation="https://github.com/public-transport/db-vendo-client"
LABEL org.opencontainers.image.source="https://github.com/public-transport/db-vendo-client"
LABEL org.opencontainers.image.version="6.0.0"
LABEL org.opencontainers.image.licenses="ISC"
WORKDIR /app
@ -23,4 +22,4 @@ ENV PORT 3000
VOLUME /logs/
CMD ["node", "api.js"]
CMD ["/bin/sh", "-c", "node api.js >> /logs/db-vendo.log 2>&1"]