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

feat: add download extension store image prefix #532

Merged
merged 1 commit into from
Sep 14, 2024

Conversation

SamYSF
Copy link
Contributor

@SamYSF SamYSF commented Sep 13, 2024

add download extension store image prefix, default image prefix is linuxsuren.

cmd/extension.go Outdated Show resolved Hide resolved
@LinuxSuRen LinuxSuRen added enhancement New feature or request ospp 开源之夏 https://summer-ospp.ac.cn/ labels Sep 13, 2024
@@ -46,7 +47,7 @@ func (d *storeDownloader) Download(name, tag, _ string) (reader io.Reader, err e
if d.os == "windows" {
d.extFile = fmt.Sprintf("%s.exe", d.extFile)
}
image := fmt.Sprintf("linuxsuren/atest-ext-store-%s", name)
image := fmt.Sprintf("%s/extension-store-%s", d.imagePrefix, name)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be image := fmt.Sprintf("%s/atest-ext-store-%s", d.imagePrefix, name)

@LinuxSuRen
Copy link
Owner

unit tests are failed.

pkg/downloader/store.go Show resolved Hide resolved
Copy link

@LinuxSuRen LinuxSuRen merged commit 4aadd06 into LinuxSuRen:master Sep 14, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ospp 开源之夏 https://summer-ospp.ac.cn/
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants