mirror of
https://github.com/thegeeklab/drone-docker.git
synced 2024-11-23 05:10:39 +00:00
fix: fix docker daemon startup
This commit is contained in:
parent
965a93f4ad
commit
5da3470af6
@ -140,7 +140,7 @@ local PipelineBuildContainer(arch='amd64') = {
|
||||
},
|
||||
{
|
||||
name: 'dryrun',
|
||||
image: 'thegeeklab/drone-docker:19',
|
||||
image: 'thegeeklab/drone-docker:19.4.2',
|
||||
settings: {
|
||||
dry_run: true,
|
||||
dockerfile: 'docker/Dockerfile.' + arch,
|
||||
@ -153,7 +153,7 @@ local PipelineBuildContainer(arch='amd64') = {
|
||||
},
|
||||
{
|
||||
name: 'publish-dockerhub',
|
||||
image: 'thegeeklab/drone-docker:19',
|
||||
image: 'thegeeklab/drone-docker:19.4.2',
|
||||
settings: {
|
||||
auto_tag: true,
|
||||
auto_tag_suffix: arch,
|
||||
@ -169,7 +169,7 @@ local PipelineBuildContainer(arch='amd64') = {
|
||||
},
|
||||
{
|
||||
name: 'publish-quay',
|
||||
image: 'thegeeklab/drone-docker:19',
|
||||
image: 'thegeeklab/drone-docker:19.4.2',
|
||||
settings: {
|
||||
auto_tag: true,
|
||||
auto_tag_suffix: arch,
|
||||
|
20
.drone.yml
20
.drone.yml
@ -110,7 +110,7 @@ steps:
|
||||
- make build
|
||||
|
||||
- name: dryrun
|
||||
image: thegeeklab/drone-docker:19
|
||||
image: thegeeklab/drone-docker:19.4.2
|
||||
settings:
|
||||
dockerfile: docker/Dockerfile.amd64
|
||||
dry_run: true
|
||||
@ -122,7 +122,7 @@ steps:
|
||||
- build
|
||||
|
||||
- name: publish-dockerhub
|
||||
image: thegeeklab/drone-docker:19
|
||||
image: thegeeklab/drone-docker:19.4.2
|
||||
settings:
|
||||
auto_tag: true
|
||||
auto_tag_suffix: amd64
|
||||
@ -140,7 +140,7 @@ steps:
|
||||
- dryrun
|
||||
|
||||
- name: publish-quay
|
||||
image: thegeeklab/drone-docker:19
|
||||
image: thegeeklab/drone-docker:19.4.2
|
||||
settings:
|
||||
auto_tag: true
|
||||
auto_tag_suffix: amd64
|
||||
@ -182,7 +182,7 @@ steps:
|
||||
- make build
|
||||
|
||||
- name: dryrun
|
||||
image: thegeeklab/drone-docker:19
|
||||
image: thegeeklab/drone-docker:19.4.2
|
||||
settings:
|
||||
dockerfile: docker/Dockerfile.arm64
|
||||
dry_run: true
|
||||
@ -194,7 +194,7 @@ steps:
|
||||
- build
|
||||
|
||||
- name: publish-dockerhub
|
||||
image: thegeeklab/drone-docker:19
|
||||
image: thegeeklab/drone-docker:19.4.2
|
||||
settings:
|
||||
auto_tag: true
|
||||
auto_tag_suffix: arm64
|
||||
@ -212,7 +212,7 @@ steps:
|
||||
- dryrun
|
||||
|
||||
- name: publish-quay
|
||||
image: thegeeklab/drone-docker:19
|
||||
image: thegeeklab/drone-docker:19.4.2
|
||||
settings:
|
||||
auto_tag: true
|
||||
auto_tag_suffix: arm64
|
||||
@ -254,7 +254,7 @@ steps:
|
||||
- make build
|
||||
|
||||
- name: dryrun
|
||||
image: thegeeklab/drone-docker:19
|
||||
image: thegeeklab/drone-docker:19.4.2
|
||||
settings:
|
||||
dockerfile: docker/Dockerfile.arm
|
||||
dry_run: true
|
||||
@ -266,7 +266,7 @@ steps:
|
||||
- build
|
||||
|
||||
- name: publish-dockerhub
|
||||
image: thegeeklab/drone-docker:19
|
||||
image: thegeeklab/drone-docker:19.4.2
|
||||
settings:
|
||||
auto_tag: true
|
||||
auto_tag_suffix: arm
|
||||
@ -284,7 +284,7 @@ steps:
|
||||
- dryrun
|
||||
|
||||
- name: publish-quay
|
||||
image: thegeeklab/drone-docker:19
|
||||
image: thegeeklab/drone-docker:19.4.2
|
||||
settings:
|
||||
auto_tag: true
|
||||
auto_tag_suffix: arm
|
||||
@ -454,6 +454,6 @@ depends_on:
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 9272f58ad1c23c3d09fe6d4c61d4f6343c9fc70229826a55c45179182b6e5f49
|
||||
hmac: c7936b051185eea97ca550875cd641ce6bf5a2229791dafa36b3a31961ed8722
|
||||
|
||||
...
|
||||
|
@ -29,10 +29,3 @@ linters-settings:
|
||||
gofumpt:
|
||||
extra-rules: true
|
||||
lang-version: "1.18"
|
||||
|
||||
issues:
|
||||
exclude-rules:
|
||||
- path: plugin/daemon.go
|
||||
linters:
|
||||
- errcheck
|
||||
text: "Error return value of `cmd.Run` is not checked"
|
||||
|
@ -22,6 +22,6 @@ func (p Plugin) startDaemon() {
|
||||
}
|
||||
go func() {
|
||||
trace(cmd)
|
||||
cmd.Run()
|
||||
_ = cmd.Run()
|
||||
}()
|
||||
}
|
||||
|
@ -196,7 +196,7 @@ func (p *Plugin) Execute() error {
|
||||
fmt.Printf("Could not prune system containers. Ignoring...\n")
|
||||
case err != nil && isCommandRmi(cmd.Args):
|
||||
fmt.Printf("Could not remove image %s. Ignoring...\n", cmd.Args[2])
|
||||
default:
|
||||
case err != nil:
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user