mirror of
https://github.com/aculix/ticket-monitoring.git
synced 2026-10-27 07:15:51 +00:00
ci: publish multi-arch image to GHCR; move status port to 4733
GitHub Actions builds linux/amd64 and linux/arm64 on every push to main and pushes a single :latest tag to ghcr.io, so the container can be run without cloning or building. Tests gate the publish step.
This commit is contained in:
1 parent
b70968d259
commit
00e6852863
6 files changed
+103
-11
No files matched your search
+1
-1
@@ -8,7 +8,7 @@ COPY src/ src/
|
||||
|
||||
ENV STATE_PATH=/data/state.json
|
||||
VOLUME /data
|
||||
EXPOSE 8080
|
||||
EXPOSE 4733
|
||||
|
||||
# --env-file-if-exists so the container works with plain env vars when no .env is mounted.
|
||||
CMD ["node", "--env-file-if-exists=.env", "src/index.js", "--loop"]
|
||||
Reference in new issue
Block a user