commit
d10433366f
@ -0,0 +1,5 @@
|
|||||||
|
REGISTRY_FQDN=localhost:8080
|
||||||
|
REGISTRY_SLUG=localhost:8080/test-docker-action
|
||||||
|
|
||||||
|
DISTRIBUTION_HOST=localhost
|
||||||
|
DISTRIBUTION_PORT=8080
|
@ -0,0 +1,13 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
: "${DISTRIBUTION_VERSION:=registry:2}"
|
||||||
|
: "${DISTRIBUTION_HOST:=localhost}"
|
||||||
|
: "${DISTRIBUTION_PORT:=8080}"
|
||||||
|
|
||||||
|
echo "::group::Starting ${DISTRIBUTION_VERSION}}"
|
||||||
|
(
|
||||||
|
set -x
|
||||||
|
docker run -d --name registry -p "5000:${DISTRIBUTION_PORT}" "${DISTRIBUTION_VERSION}"
|
||||||
|
)
|
||||||
|
echo "::endgroup::"
|
Loading…
Reference in New Issue