Skip to content

Commit

Permalink
Use current dir in config file path
Browse files Browse the repository at this point in the history
  • Loading branch information
eaudetcobello committed May 27, 2024
1 parent a510c42 commit e41c9ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions build-scripts/hack/sync-registry-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
registry.k8s.io:
images-by-semver:
pause: "= 3.7"

quay.io:
images-by-semver:
skopeo/stable: "= v1.15.0"
2 changes: 1 addition & 1 deletion build-scripts/hack/sync-registry.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

docker run -v "./sync-registry-config.yaml":/config.yaml ghcr.io/canonical/stable:1.15.0 sync \
docker run -v "$(pwd)/sync-registry-config.yaml":/config.yaml ghcr.io/canonical/stable:1.15.0 sync \
--src yaml \
--dest docker \
/config.yaml ghcr.io/canonical \
Expand Down

0 comments on commit e41c9ed

Please sign in to comment.