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

Allow user to replace docker repo prefix from image names #366

Merged
merged 2 commits into from
Oct 8, 2022

Conversation

miles170
Copy link
Contributor

@miles170 miles170 commented Sep 6, 2022

Example usage:

replacements:
  imageNamePrefixes:
    '123456789012.dkr.ecr.us-east-1.amazonaws.com': '<prod>'
    '923456789999.dkr.ecr.us-east-1.amazonaws.com': '<dev>'

Closes #316

Example usage:

```yaml
replacements:
  imageNamePrefixes:
    '123456789012.dkr.ecr.us-east-1.amazonaws.com': '<prod>'
    '923456789999.dkr.ecr.us-east-1.amazonaws.com': '<dev>'
```

Closes jesseduffield#316
@jesseduffield
Copy link
Owner

Tested locally and it works like a charm. Thanks @miles170 !

@jesseduffield jesseduffield merged commit 2db5aa5 into jesseduffield:master Oct 8, 2022
@danielcompton
Copy link

Thanks @miles170 and @jesseduffield!

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.

Add config to hide Docker repo prefix from image names
3 participants