Nikola Jokic
c093f87779
Docker and K8s: Fix shell arguments when split by the runner ( #115 )
...
* Docker: Fix shell arguments when split by the runner
* Add shlex to k8s hook as well
2023-11-20 15:09:36 +01:00
Takamasa Saichi
586a052286
Do not overwrite entrypoint if it has already been set or if it is Service container ( #83 )
2023-07-17 10:33:34 +02:00
Marko Zagožen
3fc91e4132
Fix argument order for 'docker pull' ( #85 )
...
The optional --config option must come *before* the pull argument.
2023-06-30 15:03:01 +02:00
Nikola Jokic
ae432db512
docker and k8s: read from stdin inside try catch block ( #49 )
...
There might be situation where reading from standard input fails. In
that case, we should encapsulate that exception within the try catch
block to avoid unhandeled Promise rejection exception and provide more
information about the error
2023-01-23 12:46:47 +01:00
Nikola Jokic
ce3c55d086
exposing env variables from runner with DOCKER_ envs to respect docker options set on host ( #40 )
...
* exposing env variables from runner with DOCKER_ prefix to respect rootless docker
* Prioritize DOCKER cli over workflow envs
* formatted
2022-12-08 08:09:51 +01:00
Nikola Jokic
898063bddd
repaired docker PATH export and added tests both for docker and k8s ( #17 )
...
* repaired docker PATH export and added tests both for docker and k8s
* added todo comments about next major version and typeof prepend path
2022-06-16 09:44:40 -04:00
Nikola Jokic
643bf36fd8
docker apply env on commands where we are using '-e' ( #11 )
...
* added wrapper for docker -e to apply env
* added envs around services as well
* added wrapping environment around execute command
* fixed setting the env variable for containerRun
* added env to exec and not to handle envs by ourself
* returned back the comment to run-container-step
2022-06-13 11:13:47 -04:00
Nikola Jokic
3e04b45585
removed leftover todo comments
2022-06-10 12:45:59 +02:00
Nikola Jokic
bf362ba0dd
fixed prepare-job for docker to allow for no job container
2022-06-10 11:56:10 +02:00
Nikola Jokic
2aa6f9d9c8
added quotes back to the path
2022-06-08 17:39:37 +02:00
Nikola Jokic
3d0ca83d2d
removed quotes around -e env variables
2022-06-08 17:37:43 +02:00
Nikola Jokic
df448fbbb0
cleared registry for testing
2022-06-08 17:13:43 +02:00
Nikola Jokic
ee2554e2c0
filter out empty ports
2022-06-08 16:49:44 +02:00
Nikola Jokic
51bd8b62a4
Merge branch 'nikola-jokic/docker-env' into nikola-jokic/computed-build-directory
2022-06-08 15:07:59 +02:00
Nikola Jokic
150bc0503a
substituited all -e key=value to -e key
2022-06-08 15:02:40 +02:00
Nikola Jokic
bf3707d7e0
added guard around prependPath
2022-06-08 13:28:46 +02:00
Nikola Jokic
dd5dfb3e48
refactored tests to be easier to follow
2022-06-08 13:20:54 +02:00
Nikola Jokic
58ebf56ad3
Merge branch 'main' into nikola-jokic/computed-build-directory
2022-06-07 10:52:28 +02:00
Nikola Jokic
c65ec28bbb
added force cleanup for network and cleanUp hook is cleaning up based on the label
2022-06-03 16:01:24 +02:00
Ferenc Hammerl
1e49f4ba5b
Merge branch 'nikola-jokic/computed-build-directory' of github.com:actions/runner-container-hooks into nikola-jokic/computed-build-directory
2022-06-03 06:52:11 -07:00
Ferenc Hammerl
171956673c
Handle empty registry property in input
2022-06-03 06:52:06 -07:00
Nikola Jokic
3ab4ae20f9
added network prune
2022-06-03 15:15:19 +02:00
Nikola Jokic
b0cf60b678
changed split to dirname and fixed syntax error in err message
2022-06-03 15:10:14 +02:00
Nikola Jokic
5ec2edbe11
err message suggestion
...
Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com >
2022-06-03 15:02:10 +02:00
Nikola Jokic
4b7efe88ef
refactored tests and added docker build test, repaired state.network
2022-06-03 14:10:15 +02:00
Thomas Boop
6159767f90
Initial Commit
2022-06-02 15:53:11 -04:00