Compare commits
4 Commits
Author | SHA1 | Date |
---|---|---|
Pavel Dmitriev | c57bb0c9b7 | |
Pavel Dmitriev | 5aec4a65cc | |
Pavel Dmitriev | 8c96001a47 | |
Pavel Dmitriev | a443c08aac |
|
@ -5,22 +5,22 @@ runs:
|
||||||
docker_registries_auth:
|
docker_registries_auth:
|
||||||
'mxfox.ru':
|
'mxfox.ru':
|
||||||
username:
|
username:
|
||||||
from_variable: mxfoxdockerlogin
|
from_variable: mxfoxDockerLogin
|
||||||
password:
|
password:
|
||||||
from_variable: mxfoxdockersecret
|
from_variable: mxfoxDockerSecret
|
||||||
tasks:
|
tasks:
|
||||||
- name: build docker image
|
- name: build docker image
|
||||||
runtime:
|
runtime:
|
||||||
containers:
|
containers:
|
||||||
- image: mxfox.ru/test/docker-buildx:dind-git
|
- image: mxfox.ru/mxfox/docker-dind.buildx:latest
|
||||||
privileged: true
|
privileged: true
|
||||||
#shell: /busybox/sh
|
#shell: /busybox/sh
|
||||||
working_dir: /workspace
|
working_dir: /workspace
|
||||||
environment:
|
environment:
|
||||||
DOCKERLOGIN:
|
DOCKERLOGIN:
|
||||||
from_variable: mxfoxdockerlogin
|
from_variable: mxfoxDockerLogin
|
||||||
DOCKERPASS:
|
DOCKERPASS:
|
||||||
from_variable: mxfoxdockersecret
|
from_variable: mxfoxDockerSecret
|
||||||
steps:
|
steps:
|
||||||
- clone:
|
- clone:
|
||||||
- run:
|
- run:
|
||||||
|
@ -32,10 +32,10 @@ runs:
|
||||||
command: |
|
command: |
|
||||||
case ${AGOLA_GIT_BRANCH} in
|
case ${AGOLA_GIT_BRANCH} in
|
||||||
master)
|
master)
|
||||||
export xBuildSuffix=" -t mxfox.ru/infra/fox-proxy:latest --push"
|
export xBuildSuffix=" -t mxfox.ru/mxfox/fox-proxy:latest --push"
|
||||||
;;
|
;;
|
||||||
test)
|
test)
|
||||||
export xBuildSuffix=" -t mxfox.ru/infra/fox-proxy:test --push"
|
export xBuildSuffix=" -t mxfox.ru/mxfox/fox-proxy:test --push"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
export xBuildSuffix=""
|
export xBuildSuffix=""
|
||||||
|
|
Loading…
Reference in New Issue