Skip to content

Commit

Permalink
Don't pass any auth when fetching images
Browse files Browse the repository at this point in the history
  • Loading branch information
Barry Gordon committed Mar 21, 2022
1 parent ab30b98 commit 259ca0d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 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.

10 changes: 5 additions & 5 deletions src/image-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ export const ImageService = {
} // else fallthrough to pull
}

const auth = {
username: 'x',
password: process.env.GITHUB_TOKEN
}
await this.fetchImage(imageName, auth, docker)
// const auth = {
// username: 'x',
// password: process.env.GITHUB_TOKEN
// }
await this.fetchImage(imageName, {}, docker)
},

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

0 comments on commit 259ca0d

Please sign in to comment.