Updated ci/cd scripts
Some checks failed
ci/woodpecker/push/workflow Pipeline failed

This commit is contained in:
PB
2025-12-13 16:13:07 +01:00
parent e7478ae657
commit a5d4e0be62
2 changed files with 5 additions and 5 deletions

View File

@@ -1,8 +1,8 @@
#!/bin/sh #!/bin/sh
# RUN IN REPO ROOT DIR !! # RUN IN REPO ROOT DIR !!
# export IMAGE_PREFIX="git.ego.freeddns.org/egommerce/identity" export IMAGE_PREFIX="git.pbiernat.space/egommerce/identity"
export IMAGE_PREFIX="localhost:32000/egommerce/identity" # export IMAGE_PREFIX="localhost:32000/egommerce/identity"
export BUILDER_IMAGE="egommerce-builder:identity" export BUILDER_IMAGE="egommerce-builder:identity"
export BUILD_TIME=$(date +"%Y%m%d%H%M%S") export BUILD_TIME=$(date +"%Y%m%d%H%M%S")
export SERVER_IMAGE="$IMAGE_PREFIX-svc" export SERVER_IMAGE="$IMAGE_PREFIX-svc"

View File

@@ -1,13 +1,13 @@
#!/bin/sh #!/bin/sh
# RUN IN REPO ROOT DIR !! # RUN IN REPO ROOT DIR !!
# export IMAGE_PREFIX="git.ego.freeddns.org/egommerce/identity" export IMAGE_PREFIX="git.pbiernat.space/egommerce/identity"
export IMAGE_PREFIX="localhost:32000/egommerce/identity" # export IMAGE_PREFIX="localhost:32000/egommerce/identity"
export SERVER_IMAGE="$IMAGE_PREFIX-svc" export SERVER_IMAGE="$IMAGE_PREFIX-svc"
TARGET=${1:-latest} TARGET=${1:-latest}
# echo $DOCKER_PASSWORD | docker login git.ego.freeddns.org -u $DOCKER_USERNAME --password-stdin echo $DOCKER_PASSWORD | docker login git.pbiernat.space -u $DOCKER_USERNAME --password-stdin
docker push "$SERVER_IMAGE:$TARGET" docker push "$SERVER_IMAGE:$TARGET"