File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 3838 with :
3939 path : /tmp/docker-registry
4040 key : docker-registry-no-buildkit-${{ hashFiles('Dockerfile') }}
41- - run : docker run -d -p 5000:5000 --restart=always --name registry -v /tmp/docker-registry:/var/lib/registry registry:2
42- - run : npx wait-on tcp:5000 && docker pull localhost:5000/thing || true
41+ - run : docker run -d -p 5000:5000 --restart=always --name registry -v /tmp/docker-registry:/var/lib/registry registry:2 && npx wait-on tcp:5000
42+ - run : docker pull localhost:5000/thing || true
4343 - run : docker build . -t thing --cache-from=localhost:5000/thing
4444 - run : docker tag thing localhost:5000/thing && docker push localhost:5000/thing || true
4545 if : steps.cache.outputs.cache-hit != 'true'
5454 with :
5555 path : /tmp/docker-registry
5656 key : docker-registry-buildkit-${{ hashFiles('Dockerfile') }}
57- - run : docker run -d -p 5000:5000 --restart=always --name registry -v /tmp/docker-registry:/var/lib/registry registry:2
58- - run : npx wait-on tcp:5000
57+ - run : docker run -d -p 5000:5000 --restart=always --name registry -v /tmp/docker-registry:/var/lib/registry registry:2 && npx wait-on tcp:5000
5958 - run : docker build . -t thing --cache-from=localhost:5000/thing --build-arg BUILDKIT_INLINE_CACHE=1
6059 - run : docker tag thing localhost:5000/thing && docker push localhost:5000/thing || true
6160 if : steps.cache.outputs.cache-hit != 'true'
You can’t perform that action at this time.
0 commit comments