Skip to content

Commit 9e8ccde

Browse files
authored
Merge pull request #73 from apollographql/bkinzle/phoenix-000
fix: use encodeURIComponent for the repository input
2 parents dc0a596 + c59f82e commit 9e8ccde

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dist/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/artifactRegistry.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export class ArtifactRegistryDockerRegistryClient {
9898
await this.client.listTags({
9999
parent: this.client.pathTemplates.packagePathTemplate.render({
100100
...this.repositoryFields,
101-
package: dockerImageRepository,
101+
package: encodeURIComponent(dockerImageRepository),
102102
}),
103103
})
104104
)[0].map((iTag) => {
@@ -126,7 +126,7 @@ export class ArtifactRegistryDockerRegistryClient {
126126

127127
const tagPath = this.client.pathTemplates.tagPathTemplate.render({
128128
...this.repositoryFields,
129-
package: dockerImageRepository,
129+
package: encodeURIComponent(dockerImageRepository),
130130
tag,
131131
});
132132

0 commit comments

Comments
 (0)