Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't show the repo target publicly #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

elcuervo
Copy link
Member

@elcuervo elcuervo commented Sep 15, 2023

Removes the hard coded repo target.
Not much of a secret anymore but at least is not there.

@elcuervo elcuervo self-assigned this Sep 15, 2023
@Magellol
Copy link
Member

We should amend the commits to redact this off if it's considered sensitive.

@samhh
Copy link
Contributor

samhh commented Sep 19, 2023

I can see lots of prominent examples of these being left out in the open: https://github.com/search?q=dkr.ecr.us-west-2.amazonaws.com+language%3AShell&type=code&l=Shell

Is there AWS documentation/similar explaining why this should be considered sensitive?

Edit: It may also not hide it from the Docker logs: https://github.com/unsplash/mercury/actions/runs/6199893624/job/16833399222#step:5:55

Login Succeeded
The push refers to repository [060568373025.dkr.ecr.us-west-2.amazonaws.com/mercury]
[...]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants