#!/bin/sh . ci/common.sh buildah push "${IMAGE_NAME}:${TAG}" "${IMAGE_NAME}:${TAG}-${BUILD_NUMBER}" buildah push "${IMAGE_NAME}:${TAG}" case "${BRANCH_NAME}" in master|main) buildah push "${IMAGE_NAME}:${TAG}" "${IMAGE_NAME}:latest" ;; esac