Refactor: wrap with entrypoint
All checks were successful
Build and push image / release-image (push) Successful in 31s
All checks were successful
Build and push image / release-image (push) Successful in 31s
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
FROM gitea.konchin.com/image/alpine:latest
|
FROM gitea.konchin.com/image/alpine:latest
|
||||||
|
|
||||||
RUN apk --no-cache add --no-check-certificate yamllint
|
RUN apk --no-cache add --no-check-certificate yamllint
|
||||||
|
ADD entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/env"]
|
ENTRYPOINT ["/usr/bin/env", "-S"]
|
||||||
CMD ["yamllint", "."]
|
CMD ["sh", "/entrypoint.sh"]
|
||||||
|
|||||||
3
entrypoint.sh
Normal file
3
entrypoint.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env -S sh
|
||||||
|
|
||||||
|
yamllint "${INPUT_CONTEXT}"
|
||||||
Reference in New Issue
Block a user