Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Experiencing 403 Errors in CI Test Builds #8

Closed
nickviola opened this issue Feb 8, 2022 · 4 comments · May be fixed by #7
Closed

Experiencing 403 Errors in CI Test Builds #8

nickviola opened this issue Feb 8, 2022 · 4 comments · May be fixed by #7
Assignees
Labels
bug This issue or pull request addresses broken functionality

Comments

@nickviola
Copy link
Collaborator

🐛 Summary

On the first commits branch in PR: Experiencing the following error on CI test builds: Error: buildx failed with: error: failed to solve: unexpected status: 403 Forbidden

CI Results: https://github.com/cisagov/li-pca-app-docker/runs/5100731166?check_suite_focus=true

Possible solution research: docker/build-push-action#463 (comment)

To reproduce

Steps to reproduce the behavior:

  1. Re-run jobs in Github CI Workflow
  2. Check output of CI for 403 errors.

Expected behavior

Tests build successfully without 403 errors.

Any helpful log output or screenshots

Paste the results here:

Error: buildx failed with: error: failed to solve: unexpected status: 403 Forbidden```

Add any screenshots of the problem here.
@nickviola nickviola added the bug This issue or pull request addresses broken functionality label Feb 8, 2022
@schmelz21 schmelz21 linked a pull request Feb 8, 2022 that will close this issue
12 tasks
@dav3r
Copy link
Member

dav3r commented Feb 8, 2022

@nickviola - I believe this problem is happening because you are attempting to overwrite the cisagov/example Docker image, which you don't have permission to. You need to change this line from to cisagov/example to cisagov/li-pca-app:

IMAGE_NAME: cisagov/example

I also noticed some places in this branch where you refer to this image as li-pca-app-docker. I recommend that you change all of those to li-pca-app, since the "-docker" part isn't adding any value.

@nickviola
Copy link
Collaborator Author

Thanks @dav3r. I'm giving this a try. Thank you for taking a look at this so quickly. We greatly appreciate your help!

@nickviola
Copy link
Collaborator Author

403 errors resolved by changing the IMAGE_NAME value per @dav3r's suggestion above.

Commit: 0f19b22

@dav3r
Copy link
Member

dav3r commented Feb 9, 2022

Glad to hear that did the trick!

@dav3r dav3r closed this as completed Feb 9, 2022
@dav3r dav3r moved this to Done in Li-PCA App Feb 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This issue or pull request addresses broken functionality
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants