2019-04-22 14:02:18 +02:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: dry-run-base
|
|
|
|
pull: always
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
context: docker/base
|
|
|
|
dockerfile: docker/base/Dockerfile
|
|
|
|
dry_run: true
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
repo: techknowlogick/xgo
|
|
|
|
tags: base
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
|
2019-05-07 21:42:24 +02:00
|
|
|
- name: dry-run-go-1.12.5
|
2019-04-22 14:02:18 +02:00
|
|
|
pull: always
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
2019-05-07 21:42:24 +02:00
|
|
|
context: docker/go-1.12.5
|
|
|
|
dockerfile: docker/go-1.12.5/Dockerfile
|
2019-04-22 14:02:18 +02:00
|
|
|
dry_run: true
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
repo: techknowlogick/xgo
|
2019-05-07 21:42:24 +02:00
|
|
|
tags: go-1.12.5
|
2019-04-22 14:02:18 +02:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
|
2019-05-07 21:42:24 +02:00
|
|
|
- name: dry-run-go-1.11.10
|
2019-04-22 14:02:18 +02:00
|
|
|
pull: always
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
2019-05-07 21:42:24 +02:00
|
|
|
context: docker/go-1.11.10
|
|
|
|
dockerfile: docker/go-1.11.10/Dockerfile
|
2019-04-22 14:02:18 +02:00
|
|
|
dry_run: true
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
repo: techknowlogick/xgo
|
2019-05-07 21:42:24 +02:00
|
|
|
tags: go-1.11.10
|
2019-04-22 14:02:18 +02:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
- name: build-base
|
|
|
|
pull: always
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
context: docker/base
|
|
|
|
dockerfile: docker/base/Dockerfile
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
repo: techknowlogick/xgo
|
|
|
|
tags: base
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|
|
|
|
|
2019-05-07 21:42:24 +02:00
|
|
|
- name: build-go-1.12.5
|
2019-04-22 14:02:18 +02:00
|
|
|
pull: always
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
2019-05-07 21:42:24 +02:00
|
|
|
context: docker/go-1.12.5
|
|
|
|
dockerfile: docker/go-1.12.5/Dockerfile
|
2019-04-22 14:02:18 +02:00
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
repo: techknowlogick/xgo
|
2019-05-07 21:42:24 +02:00
|
|
|
tags: go-1.12.5
|
2019-04-22 14:02:18 +02:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
- name: build-go-1.12.x
|
|
|
|
pull: always
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
context: docker/go-1.12.x
|
|
|
|
dockerfile: docker/go-1.12.x/Dockerfile
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
repo: techknowlogick/xgo
|
|
|
|
tags: go-1.12.x
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
- name: build-go-latest
|
|
|
|
pull: always
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
context: docker/go-latest
|
|
|
|
dockerfile: docker/go-latest/Dockerfile
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
repo: techknowlogick/xgo
|
|
|
|
tags: latest
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|
|
|
|
|
2019-05-07 21:42:24 +02:00
|
|
|
- name: build-go-1.11.10
|
2019-04-22 14:02:18 +02:00
|
|
|
pull: always
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
2019-05-07 21:42:24 +02:00
|
|
|
context: docker/go-1.11.10
|
|
|
|
dockerfile: docker/go-1.11.10/Dockerfile
|
2019-04-22 14:02:18 +02:00
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
repo: techknowlogick/xgo
|
2019-05-07 21:42:24 +02:00
|
|
|
tags: go-1.11.10
|
2019-04-22 14:02:18 +02:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
- name: build-go-1.11.x
|
|
|
|
pull: always
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
context: docker/go-1.11.x
|
|
|
|
dockerfile: docker/go-1.11.x/Dockerfile
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
repo: techknowlogick/xgo
|
|
|
|
tags: go-1.11.x
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|
|
|
|
|
2019-05-07 21:42:24 +02:00
|
|
|
- name: build-go-1.12.4
|
|
|
|
pull: always
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
context: docker/go-1.12.4
|
|
|
|
dockerfile: docker/go-1.12.4/Dockerfile
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
repo: techknowlogick/xgo
|
|
|
|
tags: go-1.12.4
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|
|
|
|
|
2019-04-22 14:02:18 +02:00
|
|
|
- name: build-go-1.12.3
|
|
|
|
pull: always
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
context: docker/go-1.12.3
|
|
|
|
dockerfile: docker/go-1.12.3/Dockerfile
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
repo: techknowlogick/xgo
|
|
|
|
tags: go-1.12.3
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
- name: build-go-1.12.2
|
|
|
|
pull: always
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
context: docker/go-1.12.2
|
|
|
|
dockerfile: docker/go-1.12.2/Dockerfile
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
repo: techknowlogick/xgo
|
|
|
|
tags: go-1.12.2
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
- name: build-go-1.12.1
|
|
|
|
pull: always
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
context: docker/go-1.12.1
|
|
|
|
dockerfile: docker/go-1.12.1/Dockerfile
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
repo: techknowlogick/xgo
|
|
|
|
tags: go-1.12.1
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
- name: build-go-1.12.0
|
|
|
|
pull: always
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
context: docker/go-1.12.0
|
|
|
|
dockerfile: docker/go-1.12.0/Dockerfile
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
repo: techknowlogick/xgo
|
|
|
|
tags: go-1.12.0
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|
|
|
|
|
2019-05-07 21:42:24 +02:00
|
|
|
- name: build-go-1.11.9
|
2019-04-22 14:02:18 +02:00
|
|
|
pull: always
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
2019-05-07 21:42:24 +02:00
|
|
|
context: docker/go-1.11.9
|
|
|
|
dockerfile: docker/go-1.11.9/Dockerfile
|
2019-04-22 14:02:18 +02:00
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
repo: techknowlogick/xgo
|
2019-05-07 21:42:24 +02:00
|
|
|
tags: go-1.11.9
|
2019-04-22 14:02:18 +02:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
...
|