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
|
||||
|
||||
RUN apk --no-cache add --no-check-certificate yamllint
|
||||
ADD entrypoint.sh /entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/usr/bin/env"]
|
||||
CMD ["yamllint", "."]
|
||||
ENTRYPOINT ["/usr/bin/env", "-S"]
|
||||
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