#!/bin/bashif[[-z"$TARGET"]];thenecho"TARGET environment variable must be set e.g. TARGET=stage3-amd64-openrc."exit1fi# Split the TARGET variable into three elements separated by hyphensIFS=-read-rNAMEARCHSUFFIX<<<"${TARGET}"ORG=${ORG:-gentoo}# Push built images
dockerpush--all-tags"${ORG}/${NAME}"