ee5d6a6b8a
* Follow the upstream test suite's conventions. * More migration to follow.
11 lines
221 B
Bash
Executable File
11 lines
221 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
# usage: ./image-name.sh librarytest/something some/image:some-tag
|
|
# output: librarytest/something:some-image-some-tag
|
|
|
|
base="$1"; shift
|
|
tag="$1"; shift
|
|
|
|
echo "$base:$(echo "$tag" | sed 's![:/]!-!g')"
|