We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 43d331f + 4d8bd68 commit a40fd94Copy full SHA for a40fd94
src/docker/docker.ts
@@ -136,8 +136,8 @@ export class Docker {
136
await Exec.getExecOutput(`docker`, ['pull', image], {
137
ignoreReturnCode: true
138
}).then(res => {
139
- pulled = false;
140
if (res.stderr.length > 0 && res.exitCode != 0) {
+ pulled = false;
141
const err = res.stderr.match(/(.*)\s*$/)?.[0]?.trim() ?? 'unknown error';
142
if (cacheFoundPath) {
143
core.warning(`Failed to pull image, using one from cache: ${err}`);
0 commit comments