This commit is contained in:
Robert Kaussow 2019-03-13 11:22:07 +01:00
parent af8b08ca60
commit aedee3acfc
2 changed files with 62 additions and 59 deletions

View File

@ -16,7 +16,7 @@ local PipelineBuild(os='linux', arch='amd64') = {
dry_run: true, dry_run: true,
tags: tag, tags: tag,
dockerfile: 'docker/Dockerfile.' + file_suffix, dockerfile: 'docker/Dockerfile.' + file_suffix,
repo: 'plugins/base', repo: ' xoxys/rpmbuild-centos7',
username: { from_secret: 'docker_username' }, username: { from_secret: 'docker_username' },
password: { from_secret: 'docker_password' }, password: { from_secret: 'docker_password' },
}, },
@ -29,7 +29,7 @@ local PipelineBuild(os='linux', arch='amd64') = {
auto_tag: true, auto_tag: true,
auto_tag_suffix: tag, auto_tag_suffix: tag,
dockerfile: 'docker/Dockerfile.' + file_suffix, dockerfile: 'docker/Dockerfile.' + file_suffix,
repo: 'plugins/base', repo: ' xoxys/rpmbuild-centos7',
username: { from_secret: 'docker_username' }, username: { from_secret: 'docker_username' },
password: { from_secret: 'docker_password' }, password: { from_secret: 'docker_password' },
}, },

View File

@ -7,66 +7,69 @@ platform:
arch: amd64 arch: amd64
steps: steps:
- name: dryrun - name: test
pull: always image: arm32v7/centos:7
image: plugins/docker:linux-amd64 commands:
settings: - ls -l /etc/yum.repos.d
dockerfile: docker/Dockerfile.linux.amd64 # - name: dryrun
dry_run: true # pull: always
password: # image: plugins/docker:linux-amd64
from_secret: docker_password # settings:
repo: plugins/base # dockerfile: docker/Dockerfile.linux.amd64
tags: linux-amd64 # dry_run: true
username: # password:
from_secret: docker_username # from_secret: docker_password
# repo: xoxys/rpmbuild-centos7
# tags: linux-amd64
# username:
# from_secret: docker_username
- name: publish # - name: publish
pull: always # pull: always
image: plugins/docker:linux-amd64 # image: plugins/docker:linux-amd64
settings: # settings:
auto_tag: true # auto_tag: true
auto_tag_suffix: linux-amd64 # auto_tag_suffix: linux-amd64
dockerfile: docker/Dockerfile.linux.amd64 # dockerfile: docker/Dockerfile.linux.amd64
password: # password:
from_secret: docker_password # from_secret: docker_password
repo: plugins/base # repo: xoxys/rpmbuild-centos7
username: # username:
from_secret: docker_username # from_secret: docker_username
--- # ---
kind: pipeline # kind: pipeline
name: linux-arm # name: linux-arm
platform: # platform:
os: linux # os: linux
arch: arm # arch: arm
steps: # steps:
- name: dryrun # - name: dryrun
pull: always # pull: always
image: plugins/docker:linux-arm # image: plugins/docker:linux-arm
settings: # settings:
dockerfile: docker/Dockerfile.linux.arm # dockerfile: docker/Dockerfile.linux.arm
dry_run: true # dry_run: true
password: # password:
from_secret: docker_password # from_secret: docker_password
repo: plugins/base # repo: xoxys/rpmbuild-centos7
tags: linux-arm # tags: linux-arm
username: # username:
from_secret: docker_username # from_secret: docker_username
- name: publish # - name: publish
pull: always # pull: always
image: plugins/docker:linux-arm # image: plugins/docker:linux-arm
settings: # settings:
auto_tag: true # auto_tag: true
auto_tag_suffix: linux-arm # auto_tag_suffix: linux-arm
dockerfile: docker/Dockerfile.linux.arm # dockerfile: docker/Dockerfile.linux.arm
password: # password:
from_secret: docker_password # from_secret: docker_password
repo: plugins/base # repo: xoxys/rpmbuild-centos7
username: # username:
from_secret: docker_username # from_secret: docker_username
...
# ...