add entrypoint

This commit is contained in:
Rustam Tagaev
2024-04-11 15:27:05 +03:00
parent 0bd8b145da
commit b725edda99
2 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
FROM harbor.avroid.tech/devops/addlicense:1.1.1 FROM harbor.avroid.tech/devops/addlicense:1.1.1
# COPY entrypoint.sh /entrypoint.sh COPY entrypoint.sh /entrypoint.sh
CMD ["addlicense", "-check", "."] ENTRYPOINT ["/entrypoint.sh"]

View File

@@ -2,4 +2,4 @@
echo "Processing event '$GITHUB_EVENT_NAME'" echo "Processing event '$GITHUB_EVENT_NAME'"
addlicense -check . /app/addlicense -check .