2022-10-06 17:41:43 +02:00
|
|
|
#!/bin/sh
|
|
|
|
# RUN IN REPO ROOT DIR !!
|
|
|
|
|
2022-11-30 02:22:50 +01:00
|
|
|
export IMAGE_NAME="git.pbiernat.dev/egommerce/api-gateway"
|
2022-10-06 17:41:43 +02:00
|
|
|
|
2022-12-02 22:39:13 +01:00
|
|
|
TARGET=${1:-latest}
|
|
|
|
|
2022-10-06 17:49:58 +02:00
|
|
|
echo $DOCKER_PASSWORD | docker login git.pbiernat.dev -u $DOCKER_USERNAME --password-stdin
|
2022-12-02 22:39:13 +01:00
|
|
|
docker push "$IMAGE_NAME:$TARGET"
|