12 lines
240 B
Bash
12 lines
240 B
Bash
|
|
#!/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
|