forked from hsperker/product-knowledge
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://jira.catena-x.net/browse/A1SLDT-627 add deployment script
- Loading branch information
Showing
1 changed file
with
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# | ||
# Copyright (c) 2021-2022 T-Systems International GmbH (Catena-X Consortium) | ||
# | ||
# See the AUTHORS file(s) distributed with this work for additional | ||
# information regarding authorship. | ||
# | ||
# See the LICENSE file(s) distributed with this work for | ||
# additional information regarding license terms. | ||
# | ||
|
||
# | ||
# Shell script to build & push images to ghcr. | ||
# | ||
# Prerequisites: | ||
# Windows, (git)-bash shell, java 11 (java) and maven (mvn) in the $PATH. | ||
# | ||
# Synposis: | ||
# ./deploy_catenax.sh | ||
# | ||
# Comments: | ||
# | ||
|
||
export DOCKER_PLATFORM=linux/amd64 | ||
docker compose build | ||
|
||
echo "Please enter your credentials (username/personal access token) for github. See https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry" | ||
docker login ghcr.io | ||
docker push ghcr.io/catenax-ng/product-knowledge/data-plane-agent:0.0.1 | ||
docker push ghcr.io/catenax-ng/product-knowledge/control-plane:0.0.1 | ||
docker push ghcr.io/catenax-ng/product-knowledge/portal:0.0.1 |