This repository has been archived by the owner on Jul 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: release tag latest version with stable tag
Backstage parodos is still under different version tracking, so not added here yet! Signed-off-by: Eloy Coto <eloy.coto@acalustra.com>
- Loading branch information
Showing
3 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
# | ||
export VERSION=${1:-1.0} | ||
|
||
echo "Pushing stable images for ${VERSION}"; | ||
SERVICES=("workflow-service" "notification-service") | ||
|
||
|
||
for service in "${SERVICES[@]}"; do | ||
source_image="quay.io/parodos-dev/${service}:${VERSION}" | ||
target_image="quay.io/parodos-dev/${service}:stable" | ||
|
||
docker pull "${source_image}" | ||
docker tag "${source_image}" "${target_image}" | ||
docker push "${target_image}" | ||
done |