mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
ci...
This commit is contained in:
parent
d24a341def
commit
bc56d41fbe
2 changed files with 3 additions and 3 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
@ -2,7 +2,8 @@ name: Build NPM Package & Docker
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "release" ]
|
tags:
|
||||||
|
- 'v*'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: ghcr.io
|
REGISTRY: ghcr.io
|
||||||
|
|
|
@ -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.authors="Traines <git@traines.eu>"
|
||||||
LABEL org.opencontainers.image.documentation="https://github.com/public-transport/db-vendo-client"
|
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.source="https://github.com/public-transport/db-vendo-client"
|
||||||
LABEL org.opencontainers.image.version="6.0.0"
|
|
||||||
LABEL org.opencontainers.image.licenses="ISC"
|
LABEL org.opencontainers.image.licenses="ISC"
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
@ -23,4 +22,4 @@ ENV PORT 3000
|
||||||
|
|
||||||
VOLUME /logs/
|
VOLUME /logs/
|
||||||
|
|
||||||
CMD ["node", "api.js"]
|
CMD ["/bin/sh", "-c", "node api.js >> /logs/db-vendo.log 2>&1"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue