ci: Import ci pipeline from original repo
All checks were successful
dustin/sshca/pipeline/head This commit looks good

When this repository was split from the original *dustin/sshca*
repository, the CI pipeline was not imported.  It wouldn't have mattered
if it had been, since it wouldn't have worked, anyway, given the path
changes.
This commit is contained in:
2023-11-13 20:06:58 -06:00
parent be4f5eb6d7
commit 818cfc94c2
5 changed files with 96 additions and 0 deletions

11
ci/publish.sh Normal file
View File

@@ -0,0 +1,11 @@
#!/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