Compare commits

..

4 Commits

Author SHA1 Message Date
Pavel Dmitriev c57bb0c9b7 Изменил(а) на '.agola/config.yml'
agola/fox-proxy/Build image The run finished successfully Details
2022-05-12 17:21:51 +03:00
Pavel Dmitriev 5aec4a65cc Изменил(а) на '.agola/config.yml'
agola/fox-proxy/Build image The run failed Details
2022-05-12 17:21:19 +03:00
Pavel Dmitriev 8c96001a47 Изменил(а) на '.agola/config.yml'
agola/fox-proxy/Build image The run failed Details
2022-05-12 17:20:49 +03:00
Pavel Dmitriev a443c08aac Удалить 'build.sh'
agola/fox-proxy/Build image The run failed Details
2022-05-12 17:19:30 +03:00
2 changed files with 7 additions and 11 deletions

View File

@ -5,22 +5,22 @@ runs:
docker_registries_auth:
'mxfox.ru':
username:
from_variable: mxfoxdockerlogin
from_variable: mxfoxDockerLogin
password:
from_variable: mxfoxdockersecret
from_variable: mxfoxDockerSecret
tasks:
- name: build docker image
runtime:
containers:
- image: mxfox.ru/test/docker-buildx:dind-git
- image: mxfox.ru/mxfox/docker-dind.buildx:latest
privileged: true
#shell: /busybox/sh
working_dir: /workspace
environment:
DOCKERLOGIN:
from_variable: mxfoxdockerlogin
from_variable: mxfoxDockerLogin
DOCKERPASS:
from_variable: mxfoxdockersecret
from_variable: mxfoxDockerSecret
steps:
- clone:
- run:
@ -32,10 +32,10 @@ runs:
command: |
case ${AGOLA_GIT_BRANCH} in
master)
export xBuildSuffix=" -t mxfox.ru/infra/fox-proxy:latest --push"
export xBuildSuffix=" -t mxfox.ru/mxfox/fox-proxy:latest --push"
;;
test)
export xBuildSuffix=" -t mxfox.ru/infra/fox-proxy:test --push"
export xBuildSuffix=" -t mxfox.ru/mxfox/fox-proxy:test --push"
;;
*)
export xBuildSuffix=""

View File

@ -1,4 +0,0 @@
#!/bin/bash
#docker build --tag=git.mxfox.ru/fox-proxy .
docker buildx build --platform linux/arm,linux/arm64,linux/amd64 --tag=mxfox.ru/infra/fox-proxy . --push