mirror of
https://github.com/thegeeklab/wp-docker-buildx.git
synced 2024-11-13 22:50:41 +00:00
update the docker plugin to use the default volume as the graph path
This commit is contained in:
parent
8971a82c08
commit
74289a486c
@ -9,7 +9,7 @@ pipeline:
|
|||||||
- go test -cover -coverprofile=coverage.out
|
- go test -cover -coverprofile=coverage.out
|
||||||
- go build -ldflags "-s -w -X main.build=$DRONE_BUILD_NUMBER"
|
- go build -ldflags "-s -w -X main.build=$DRONE_BUILD_NUMBER"
|
||||||
docker:
|
docker:
|
||||||
storage_driver: overlay
|
storage_driver: vfs
|
||||||
repo: plugins/docker
|
repo: plugins/docker
|
||||||
tag: [ "latest", "1.0", "1" ]
|
tag: [ "latest", "1.0", "1" ]
|
||||||
when:
|
when:
|
||||||
|
@ -1 +1 @@
|
|||||||
eyJhbGciOiJIUzI1NiJ9.cGlwZWxpbmU6CiAgdGVzdDoKICAgIGltYWdlOiBnb2xhbmc6MS42CiAgICBlbnZpcm9ubWVudDoKICAgICAgLSBDR09fRU5BQkxFRD0wCiAgICAgIC0gR08xNVZFTkRPUkVYUEVSSU1FTlQ9MQogICAgICAtIEdPUEFUSD0vZHJvbmUKICAgIGNvbW1hbmRzOgogICAgICAtIGdvIHRlc3QgLWNvdmVyIC1jb3ZlcnByb2ZpbGU9Y292ZXJhZ2Uub3V0CiAgICAgIC0gZ28gYnVpbGQgLWxkZmxhZ3MgIi1zIC13IC1YIG1haW4uYnVpbGQ9JERST05FX0JVSUxEX05VTUJFUiIKICBkb2NrZXI6CiAgICBzdG9yYWdlX2RyaXZlcjogb3ZlcmxheQogICAgcmVwbzogcGx1Z2lucy9kb2NrZXIKICAgIHRhZzogWyAibGF0ZXN0IiwgIjEuMCIsICIxIiBdCiAgICB3aGVuOgogICAgICBicmFuY2g6IG1hc3RlcgogICAgICBldmVudDogcHVzaAoKcGx1Z2luOgogIG5hbWU6IERvY2tlcgogIGRlc2M6IEJ1aWxkIGFuZCBwdWJsaXNoIGltYWdlcyB0byBhIERvY2tlciByZ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
|
||||||
|
|
||||||
ENTRYPOINT ["/bin/drone-docker"]
|
ENTRYPOINT [ "/usr/local/bin/dockerd-entrypoint.sh", "/bin/drone-docker" ]
|
||||||
|
2
main.go
2
main.go
@ -50,7 +50,7 @@ func main() {
|
|||||||
cli.StringFlag{
|
cli.StringFlag{
|
||||||
Name: "daemon.storage-path",
|
Name: "daemon.storage-path",
|
||||||
Usage: "docker daemon storage path",
|
Usage: "docker daemon storage path",
|
||||||
Value: "/tmp/docker",
|
Value: "/var/lib/docker",
|
||||||
EnvVar: "PLUGIN_STORAGE_PATH",
|
EnvVar: "PLUGIN_STORAGE_PATH",
|
||||||
},
|
},
|
||||||
cli.StringFlag{
|
cli.StringFlag{
|
||||||
|
Loading…
Reference in New Issue
Block a user