build fix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Piotr Biernat 2022-12-02 23:37:01 +01:00
parent c931b14cb1
commit 7e938e3070

View File

@ -5,6 +5,8 @@ export IMAGE_BASE="git.pbiernat.dev/egommerce/order"
export SERVER_IMAGE="$IMAGE_BASE-svc" export SERVER_IMAGE="$IMAGE_BASE-svc"
export WORKER_IMAGE="$IMAGE_BASE-worker" export WORKER_IMAGE="$IMAGE_BASE-worker"
TARGET=${1:-latest}
echo $DOCKER_PASSWORD | docker login git.pbiernat.dev -u $DOCKER_USERNAME --password-stdin echo $DOCKER_PASSWORD | docker login git.pbiernat.dev -u $DOCKER_USERNAME --password-stdin
docker push "$SERVER_IMAGE:latest" docker push "$SERVER_IMAGE:$TARGET"
docker push "$WORKER_IMAGE:latest" docker push "$WORKER_IMAGE:$TARGET"