Skip to content

Commit

Permalink
Merge pull request #96 from dependabot/brrygrdn/bug-fixes
Browse files Browse the repository at this point in the history
Ensure we wait for container downloads if they don't exist
  • Loading branch information
Barry Gordon authored and GitHub committed Feb 25, 2022
2 parents 2872363 + d66ae00 commit 4f8db74
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/main/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/main/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/image-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const ImageService = {
try {
const image = await docker.getImage(imageName).inspect()
if (!force) {
core.info(`Resolved ${imageName} to existing ${image.Id}`)
core.info(`Resolved ${imageName} to existing ${image.RepoDigests}`)
return
} // else fallthrough to pull
} catch (e) {
Expand All @@ -53,7 +53,7 @@ export const ImageService = {
username: 'x',
password: process.env.GITHUB_TOKEN
}
this.fetchImage(imageName, auth, docker)
await this.fetchImage(imageName, auth, docker)
},

/* Retrieve the imageName using the auth details provided, if any */
Expand Down

0 comments on commit 4f8db74

Please sign in to comment.