Pull request: bamboo-specs: push the docker image

Merge in DNS/adguard-home from spec-docker-push to master

Squashed commit of the following:

commit 73c76cf61463e2982911b8407ca368da5a9e8133
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Thu Apr 8 18:19:27 2021 +0300

    bamboo-specs: push the docker image
This commit is contained in:
Ainar Garipov 2021-04-08 18:24:42 +03:00
parent 7afc692632
commit 8c7f2b77d5

View File

@ -7,7 +7,6 @@
'variables':
'channel': 'edge'
'dockerGo': 'adguard/golang-ubuntu:2.0'
'outputPush': 'false'
'stages':
- 'Make release':
@ -114,14 +113,11 @@
# Print Docker info.
docker info
# If true, push to docker hub. Otherwise, keep in the build cache.
OUTPUT_PUSH="${bamboo.outputPush}"
# Prepare and push the build.
make\
CHANNEL="${bamboo.channel}"\
DOCKER_IMAGE_NAME='adguard/adguardhome'\
DOCKER_OUTPUT="type=image,name=adguard/adguardhome,push=$OUTPUT_PUSH"\
DOCKER_OUTPUT="type=image,name=adguard/adguardhome,push=true"\
VERBOSE='1'\
build-docker
'environment':