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:
parent
7afc692632
commit
8c7f2b77d5
|
@ -7,7 +7,6 @@
|
||||||
'variables':
|
'variables':
|
||||||
'channel': 'edge'
|
'channel': 'edge'
|
||||||
'dockerGo': 'adguard/golang-ubuntu:2.0'
|
'dockerGo': 'adguard/golang-ubuntu:2.0'
|
||||||
'outputPush': 'false'
|
|
||||||
|
|
||||||
'stages':
|
'stages':
|
||||||
- 'Make release':
|
- 'Make release':
|
||||||
|
@ -114,14 +113,11 @@
|
||||||
# Print Docker info.
|
# Print Docker info.
|
||||||
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.
|
# Prepare and push the build.
|
||||||
make\
|
make\
|
||||||
CHANNEL="${bamboo.channel}"\
|
CHANNEL="${bamboo.channel}"\
|
||||||
DOCKER_IMAGE_NAME='adguard/adguardhome'\
|
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'\
|
VERBOSE='1'\
|
||||||
build-docker
|
build-docker
|
||||||
'environment':
|
'environment':
|
||||||
|
|
Loading…
Reference in New Issue