upgrade docker plugin to docker 1.12
This commit is contained in:
parent
7de67936f5
commit
c77a19918a
14
.drone.yml
14
.drone.yml
@ -13,20 +13,10 @@ pipeline:
|
|||||||
- go test -cover -coverprofile=coverage.out
|
- go test -cover -coverprofile=coverage.out
|
||||||
- go build -ldflags "-s -w -X main.build=$DRONE_BUILD_NUMBER" -a -tags netgo
|
- go build -ldflags "-s -w -X main.build=$DRONE_BUILD_NUMBER" -a -tags netgo
|
||||||
|
|
||||||
latest:
|
publish:
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: plugins/docker
|
repo: plugins/docker
|
||||||
tags: [ "latest", "1.2", "1" ]
|
tags: [ "latest", "1.3", "1" ]
|
||||||
when:
|
when:
|
||||||
branch: master
|
branch: master
|
||||||
event: push
|
event: push
|
||||||
|
|
||||||
plugin:
|
|
||||||
name: Docker
|
|
||||||
desc: Build and publish images to a Docker registry
|
|
||||||
type: publish
|
|
||||||
image: plugins/docker
|
|
||||||
labels:
|
|
||||||
- docker
|
|
||||||
- image
|
|
||||||
- container
|
|
||||||
|
@ -1 +1 @@
|
|||||||
eyJhbGciOiJIUzI1NiJ9.d29ya3NwYWNlOgogIGJhc2U6IC9nbwogIHBhdGg6IHNyYy9naXRodWIuY29tL2Ryb25lLXBsdWdpbnMvZHJvbmUtZG9ja2VyCgpwaXBlbGluZToKICB0ZXN0OgogICAgaW1hZ2U6IGdvbGFuZzoxLjYKICAgIGVudmlyb25tZW50OgogICAgICAtIENHT19FTkFCTEVEPTAKICAgIGNvbW1hbmRzOgogICAgICAjIERpc2FibGVkOiBtYWluLmdvOjk5OiBjbGkuU3RyaW5nU2xpY2UgY29tcG9zaXRlIGxpdGVyYWwgdXNlcyB1bmtleWVkIGZpZWxkcwogICAgICAjIC0gZ28gdmV0CiAgICAgIC0gZ28gdGVzdCAtY292ZXIgLWNvdmVycHJvZmlsZT1jb3ZlcmFnZS5vdXQKICAgICAgLSBnbyBidWlsZCAtbGRmbGFncyAiLXMgLXcgLVggbW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wdWJsaXNoOgogICAgaW1hZ2U6IHBsdWdpbnMvZG9ja2VyCiAgICByZXBvOiBwbHVnaW5zL2RvY2tlcgogICAgdGFnczogWyAibGF0ZXN0IiwgIjEuMyIsICIxIiBdCiAgICB3aGVuOgogICAgICBicmFuY2g6IG1hc3RlcgogICAgICBldmVudDogcHVzaAo.AAwlm5ZzvhtDR5aI3LoiVMpIvQo2mTBdwjCoL2Q8VzU
|
@ -1,4 +1,4 @@
|
|||||||
FROM docker:1.11-dind
|
FROM docker:1.12-dind
|
||||||
|
|
||||||
ADD drone-docker /bin/
|
ADD drone-docker /bin/
|
||||||
ENTRYPOINT ["/usr/local/bin/dockerd-entrypoint.sh", "/bin/drone-docker"]
|
ENTRYPOINT ["/usr/local/bin/dockerd-entrypoint.sh", "/bin/drone-docker"]
|
||||||
|
Loading…
Reference in New Issue
Block a user