2022-10-06 17:41:43 +02:00
|
|
|
#!/bin/sh
|
|
|
|
# RUN IN REPO ROOT DIR !!
|
|
|
|
|
2024-07-20 12:59:01 +02:00
|
|
|
export IMAGE_NAME="git.pbiernat.io/egommerce/api-gateway"
|
2022-10-06 17:41:43 +02:00
|
|
|
|
2022-12-02 22:39:13 +01:00
|
|
|
TARGET=${1:-latest}
|
|
|
|
|
2024-07-20 12:59:01 +02:00
|
|
|
echo $DOCKER_PASSWORD | docker login git.pbiernat.io -u $DOCKER_USERNAME --password-stdin
|
2022-12-02 22:39:13 +01:00
|
|
|
docker push "$IMAGE_NAME:$TARGET"
|
2024-07-20 12:59:01 +02:00
|
|
|
|
|
|
|
curl http://127.0.0.1:9001/api/webhooks/da6eb8e6-bf58-46ff-8546-1bf925cb7ea0
|