12 lines
241 B
Bash
Executable file
12 lines
241 B
Bash
Executable file
#!/usr/bin/bash
|
|
set -euo pipefail
|
|
|
|
image=$1
|
|
target=$2
|
|
|
|
# Add build to images to distinguish from ghcr
|
|
if [[ "${target}" =~ "base" ]]; then
|
|
echo "${image}-build"
|
|
elif [[ "${target}" =~ "dx" ]]; then
|
|
echo "${image}-${target}-build"
|
|
fi
|