Skip to content

Commit

Permalink
Merge pull request #11 from dependabot/jurre/public-images
Browse files Browse the repository at this point in the history
Do not use auth for updater/proxy images
  • Loading branch information
Barry Gordon authored and GitHub committed Oct 15, 2021
2 parents 59093ca + 7f03db7 commit 511815e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: GPR login
run: docker login docker.pkg.github.com -u x -p ${{ secrets.GPR_TOKEN }}
run: docker login docker.pkg.github.com -u x -p ${{ secrets.GITHUB_TOKEN }}
- name: GRP pull dependabot/dependabot-updater
run: docker pull docker.pkg.github.com/dependabot/dependabot-updater:latest
- name: GRP pull github/dependabot-update-job-proxy
Expand Down
2 changes: 1 addition & 1 deletion dist/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/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/image-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const ImageService = {
core.info(`Pulling image ${imageName}...`)
const auth = {
username: 'x',
password: process.env.GPR_TOKEN
password: process.env.GITHUB_TOKEN
}
const stream = await docker.pull(imageName, {authconfig: auth})
await endOfStream(docker, stream)
Expand Down

0 comments on commit 511815e

Please sign in to comment.