File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7878 # Registry used during building of Docker images. (All images are later copied to docker.io registry)
7979 # We use GitHub's Container Registry to avoid aggressive rate limits at DockerHub.
8080 DOCKER_BUILD_REGISTRY : ghcr.io
81- # Version of 'regctl' to use for copying images to DOCKER_BUILD_REGISTRY
82- REGCTL_VERSION : ' v0.9.2'
8381
8482jobs :
8583 docker-build :
@@ -301,8 +299,11 @@ jobs:
301299 # See https://github.com/regclient/regclient/blob/main/docs/regctl.md
302300 - name : Install regctl for Docker registry tools
303301 run : |
304- curl -L https://github.com/regclient/regclient/releases/download/${REGCTL_VERSION}/regctl-linux-amd64 > /usr/bin/regctl
305- chmod 755 /usr/bin/regctl
302+ export REGCTL_VERSION=v0.9.2
303+ mkdir -p bin
304+ curl -sSLo bin/regctl https://github.com/regclient/regclient/releases/download/${REGCTL_VERSION}/regctl-linux-amd64
305+ chmod a+x bin/regctl
306+ echo "$(pwd)/bin" >> $GITHUB_PATH
306307
307308 # This recreates Docker tags for DockerHub
308309 - name : Add Docker metadata for image
You can’t perform that action at this time.
0 commit comments