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

View File

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