Piotr Biernat
46578fabdf
All checks were successful
continuous-integration/drone/push Build is passing
10 lines
242 B
Bash
Executable File
10 lines
242 B
Bash
Executable File
#!/bin/sh
|
|
# RUN IN REPO ROOT DIR !!
|
|
|
|
export IMAGE_NAME="git.pbiernat.dev/egommerce/api-logger"
|
|
|
|
TARGET=${1:-latest}
|
|
|
|
echo $DOCKER_PASSWORD | docker login git.pbiernat.dev -u $DOCKER_USERNAME --password-stdin
|
|
docker push "$IMAGE_NAME:$TARGET"
|