mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 02:31:45 +01:00
Publish docker image
This commit is contained in:
@@ -63,13 +63,3 @@ docker build "$project_root" \
|
||||
--build-arg GIT_REPO_URL="$(git config --get remote.origin.url)" \
|
||||
-t $image_name \
|
||||
"$@"
|
||||
|
||||
|
||||
#################################################
|
||||
# push image with tags to remote docker image registry
|
||||
#################################################
|
||||
if [[ "${DOCKER_PUSH:-0}" == "1" ]]; then
|
||||
docker image tag $image_name docker.io/$image_name
|
||||
|
||||
docker push docker.io/$image_name
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user