Изменил(а) на '.agola/config.yml'
agola/fox-web-basic/Build image The run finished successfully Details

This commit is contained in:
Pavel Dmitriev 2022-05-02 17:37:52 +03:00
parent 0a3016ad5b
commit 072e214484
1 changed files with 8 additions and 8 deletions

View File

@ -4,22 +4,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:
@ -31,13 +31,13 @@ runs:
command: | command: |
case ${AGOLA_GIT_BRANCH} in case ${AGOLA_GIT_BRANCH} in
master) master)
export xBuildSuffix=" -t mxfox.ru/chimera/fox-web-basic:master-${AGOLA_GIT_COMMITSHA:0:10} -t mxfox.ru/chimera/fox-web-basic:latest --push" export xBuildSuffix=" -t mxfox.ru/mxfox/fox-web-basic:master-${AGOLA_GIT_COMMITSHA:0:10} -t mxfox.ru/mxfox/fox-web-basic:latest --push"
;; ;;
test) test)
export xBuildSuffix=" -t mxfox.ru/chimera/fox-web-basic:test-${AGOLA_GIT_COMMITSHA:0:10} -t mxfox.ru/chimera/fox-web-basic:test --push" export xBuildSuffix=" -t mxfox.ru/mxfox/fox-web-basic:test-${AGOLA_GIT_COMMITSHA:0:10} -t mxfox.ru/mxfox/fox-web-basic:test --push"
;; ;;
php7.4) php7.4)
export xBuildSuffix=" -t mxfox.ru/chimera/fox-web-basic:php-7.4-${AGOLA_GIT_COMMITSHA:0:10} -t mxfox.ru/chimera/fox-web-basic:php-7.4 --push" export xBuildSuffix=" -t mxfox.ru/mxfox/fox-web-basic:php-7.4-${AGOLA_GIT_COMMITSHA:0:10} -t mxfox.ru/mxfox/fox-web-basic:php-7.4 --push"
;; ;;
*) *)
export xBuildSuffix="" export xBuildSuffix=""