mirror of
https://github.com/docker/build-push-action.git
synced 2025-04-19 01:46:45 +00:00
fixup! e2e: add distribution tests
Signed-off-by: Justin Chadwell <me@jedevc.com>
This commit is contained in:
parent
d10433366f
commit
4858a31f84
2 changed files with 5 additions and 4 deletions
6
.github/e2e/distribution/install.sh
vendored
6
.github/e2e/distribution/install.sh
vendored
|
@ -1,13 +1,13 @@
|
|||
#!/usr/bin/env bash
|
||||
set -eu
|
||||
|
||||
: "${DISTRIBUTION_VERSION:=registry:2}"
|
||||
: "${DISTRIBUTION_VERSION:=2}"
|
||||
: "${DISTRIBUTION_HOST:=localhost}"
|
||||
: "${DISTRIBUTION_PORT:=8080}"
|
||||
|
||||
echo "::group::Starting ${DISTRIBUTION_VERSION}}"
|
||||
echo "::group::Starting registry:${DISTRIBUTION_VERSION}"
|
||||
(
|
||||
set -x
|
||||
docker run -d --name registry -p "5000:${DISTRIBUTION_PORT}" "${DISTRIBUTION_VERSION}"
|
||||
docker run -d --name registry -p "${DISTRIBUTION_PORT}:5000" "registry:${DISTRIBUTION_VERSION}"
|
||||
)
|
||||
echo "::endgroup::"
|
Loading…
Add table
Add a link
Reference in a new issue