#!/bin/sh # RUN IN REPO ROOT DIR !! export IMAGE_PREFIX="git.pbiernat.io/egommerce/identity" export SERVER_IMAGE="$IMAGE_PREFIX-svc" # export WORKER_IMAGE="$IMAGE_PREFIX-worker" TARGET=${1:-latest} echo $DOCKER_PASSWORD | docker login git.pbiernat.io -u $DOCKER_USERNAME --password-stdin docker push "$SERVER_IMAGE:$TARGET" # docker push "$WORKER_IMAGE:$TARGET" # Restart container curl -X POST http://127.0.0.1:9001/api/webhooks/64ea5d78-ae21-474c-ad4d-1d98f6b83acb