2020-11-19 20:27:09 +01:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
2022-07-08 09:06:10 +02:00
|
|
|
image: golang:1.18
|
2020-11-19 20:27:09 +01:00
|
|
|
commands:
|
|
|
|
- go test ./...
|
|
|
|
- sh scripts/build.sh
|
|
|
|
|
|
|
|
- name: docker
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: plugins/kaniko
|
|
|
|
auto_tag: true
|
2021-01-29 19:39:22 +01:00
|
|
|
auto_tag_suffix: linux-amd64
|
2021-03-02 16:45:44 +01:00
|
|
|
daemon_off: false
|
2020-11-25 19:12:56 +01:00
|
|
|
dockerfile: docker/docker/Dockerfile.linux.amd64
|
2020-11-19 20:27:09 +01:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2021-01-29 19:39:22 +01:00
|
|
|
when:
|
|
|
|
event:
|
2021-03-02 16:45:44 +01:00
|
|
|
exclude:
|
|
|
|
- pull_request
|
2020-11-19 20:27:09 +01:00
|
|
|
|
|
|
|
- name: gcr
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: plugins/kaniko-gcr
|
|
|
|
auto_tag: true
|
2021-01-29 19:39:22 +01:00
|
|
|
auto_tag_suffix: linux-amd64
|
2021-03-02 16:45:44 +01:00
|
|
|
daemon_off: false
|
2020-11-19 20:27:09 +01:00
|
|
|
dockerfile: docker/gcr/Dockerfile.linux.amd64
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2021-01-29 19:39:22 +01:00
|
|
|
when:
|
|
|
|
event:
|
2021-03-02 16:45:44 +01:00
|
|
|
exclude:
|
|
|
|
- pull_request
|
2020-11-19 20:27:09 +01:00
|
|
|
|
|
|
|
- name: ecr
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: plugins/kaniko-ecr
|
|
|
|
auto_tag: true
|
2021-01-29 19:39:22 +01:00
|
|
|
auto_tag_suffix: linux-amd64
|
2021-03-02 16:45:44 +01:00
|
|
|
daemon_off: false
|
2020-11-19 20:27:09 +01:00
|
|
|
dockerfile: docker/ecr/Dockerfile.linux.amd64
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2021-01-29 19:39:22 +01:00
|
|
|
when:
|
|
|
|
event:
|
2021-03-02 16:45:44 +01:00
|
|
|
exclude:
|
2021-03-19 13:16:22 +01:00
|
|
|
- pull_request
|
|
|
|
|
2022-08-01 18:08:36 +02:00
|
|
|
- name: acr
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: plugins/kaniko-acr
|
|
|
|
auto_tag: true
|
|
|
|
auto_tag_suffix: linux-amd64
|
|
|
|
daemon_off: false
|
|
|
|
dockerfile: docker/acr/Dockerfile.linux.amd64
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|
|
|
|
|
2022-03-31 11:23:50 +02:00
|
|
|
- name: docker-kaniko-v1-8
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: plugins/kaniko
|
|
|
|
auto_tag: true
|
2022-04-12 19:51:29 +02:00
|
|
|
auto_tag_suffix: linux-amd64-kaniko1.8.1
|
2022-03-31 11:23:50 +02:00
|
|
|
daemon_off: false
|
2022-04-12 19:51:29 +02:00
|
|
|
dockerfile: docker/docker/Dockerfile.linux.amd64.kaniko1.8.1
|
2022-03-31 11:23:50 +02:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
- name: gcr-kaniko-v1-8
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: plugins/kaniko-gcr
|
|
|
|
auto_tag: true
|
2022-04-12 19:51:29 +02:00
|
|
|
auto_tag_suffix: linux-amd64-kaniko1.8.1
|
2022-03-31 11:23:50 +02:00
|
|
|
daemon_off: false
|
2022-04-12 19:51:29 +02:00
|
|
|
dockerfile: docker/gcr/Dockerfile.linux.amd64.kaniko1.8.1
|
2022-03-31 11:23:50 +02:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|
|
|
|
|
2022-08-01 18:08:36 +02:00
|
|
|
|
2022-03-31 11:23:50 +02:00
|
|
|
- name: ecr-kaniko-v1-8
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: plugins/kaniko-ecr
|
|
|
|
auto_tag: true
|
2022-04-12 19:51:29 +02:00
|
|
|
auto_tag_suffix: linux-amd64-kaniko1.8.1
|
2022-03-31 11:23:50 +02:00
|
|
|
daemon_off: false
|
2022-04-12 19:51:29 +02:00
|
|
|
dockerfile: docker/ecr/Dockerfile.linux.amd64.kaniko1.8.1
|
2022-03-31 11:23:50 +02:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|
2021-03-19 13:16:22 +01:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2022-08-16 07:50:49 +02:00
|
|
|
name: arm
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: golang:1.18
|
|
|
|
commands:
|
|
|
|
- go test ./...
|
|
|
|
- sh scripts/build.sh
|
|
|
|
|
|
|
|
- name: docker
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: plugins/kaniko
|
|
|
|
auto_tag: true
|
|
|
|
auto_tag_suffix: linux-arm64
|
|
|
|
daemon_off: false
|
|
|
|
dockerfile: docker/docker/Dockerfile.linux.arm64
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
- name: gcr
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: plugins/kaniko-gcr
|
|
|
|
auto_tag: true
|
|
|
|
auto_tag_suffix: linux-arm64
|
|
|
|
daemon_off: false
|
|
|
|
dockerfile: docker/gcr/Dockerfile.linux.arm64
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
- name: ecr
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: plugins/kaniko-ecr
|
|
|
|
auto_tag: true
|
|
|
|
auto_tag_suffix: linux-arm64
|
|
|
|
daemon_off: false
|
|
|
|
dockerfile: docker/ecr/Dockerfile.linux.arm64
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
- name: acr
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: plugins/kaniko-acr
|
|
|
|
auto_tag: true
|
|
|
|
auto_tag_suffix: linux-arm64
|
|
|
|
daemon_off: false
|
|
|
|
dockerfile: docker/acr/Dockerfile.linux.arm64
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
- name: docker-kaniko-v1-8
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: plugins/kaniko
|
|
|
|
auto_tag: true
|
|
|
|
auto_tag_suffix: linux-arm64-kaniko1.8.1
|
|
|
|
daemon_off: false
|
|
|
|
dockerfile: docker/docker/Dockerfile.linux.arm64.kaniko1.8.1
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
- name: gcr-kaniko-v1-8
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: plugins/kaniko-gcr
|
|
|
|
auto_tag: true
|
|
|
|
auto_tag_suffix: linux-arm64-kaniko1.8.1
|
|
|
|
daemon_off: false
|
|
|
|
dockerfile: docker/gcr/Dockerfile.linux.arm64.kaniko1.8.1
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
|
|
|
|
- name: ecr-kaniko-v1-8
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: plugins/kaniko-ecr
|
|
|
|
auto_tag: true
|
|
|
|
auto_tag_suffix: linux-arm64-kaniko1.8.1
|
|
|
|
daemon_off: false
|
|
|
|
dockerfile: docker/ecr/Dockerfile.linux.arm64.kaniko1.8.1
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2021-03-19 13:16:22 +01:00
|
|
|
name: notifications-docker
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: manifest-docker
|
|
|
|
pull: always
|
|
|
|
image: plugins/manifest
|
|
|
|
settings:
|
|
|
|
auto_tag: true
|
|
|
|
ignore_missing: true
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
spec: docker/docker/manifest.tmpl
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
|
|
|
|
- name: manifest-gcr
|
|
|
|
pull: always
|
|
|
|
image: plugins/manifest
|
|
|
|
settings:
|
|
|
|
auto_tag: true
|
|
|
|
ignore_missing: true
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
spec: docker/gcr/manifest.tmpl
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
|
2022-08-01 18:08:36 +02:00
|
|
|
- name: manifest-acr
|
|
|
|
pull: always
|
|
|
|
image: plugins/manifest
|
|
|
|
settings:
|
|
|
|
auto_tag: true
|
|
|
|
ignore_missing: true
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
spec: docker/acr/manifest.tmpl
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
|
2021-03-19 13:16:22 +01:00
|
|
|
- name: manifest-ecr
|
|
|
|
pull: always
|
|
|
|
image: plugins/manifest
|
|
|
|
settings:
|
|
|
|
auto_tag: true
|
|
|
|
ignore_missing: true
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
spec: docker/ecr/manifest.tmpl
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
ref:
|
|
|
|
- refs/heads/main
|
|
|
|
- "refs/tags/**"
|
|
|
|
|
|
|
|
depends_on:
|
2022-03-14 17:49:32 +01:00
|
|
|
- default
|
2022-08-17 08:24:11 +02:00
|
|
|
- arm
|
2022-03-31 11:23:50 +02:00
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: notifications-docker-kaniko1-8
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: manifest-docker
|
|
|
|
pull: always
|
|
|
|
image: plugins/manifest
|
|
|
|
settings:
|
2022-03-31 12:54:40 +02:00
|
|
|
auto_tag: false
|
2022-03-31 11:23:50 +02:00
|
|
|
ignore_missing: true
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2022-04-12 19:51:29 +02:00
|
|
|
spec: docker/docker/manifest-kaniko1.8.1.tmpl
|
2022-03-31 11:23:50 +02:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
|
|
|
|
- name: manifest-gcr
|
|
|
|
pull: always
|
|
|
|
image: plugins/manifest
|
|
|
|
settings:
|
2022-03-31 12:54:40 +02:00
|
|
|
auto_tag: false
|
2022-03-31 11:23:50 +02:00
|
|
|
ignore_missing: true
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2022-04-12 19:51:29 +02:00
|
|
|
spec: docker/gcr/manifest-kaniko1.8.1.tmpl
|
2022-03-31 11:23:50 +02:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
|
|
|
|
- name: manifest-ecr
|
|
|
|
pull: always
|
|
|
|
image: plugins/manifest
|
|
|
|
settings:
|
2022-03-31 12:54:40 +02:00
|
|
|
auto_tag: false
|
2022-03-31 11:23:50 +02:00
|
|
|
ignore_missing: true
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2022-04-12 19:51:29 +02:00
|
|
|
spec: docker/ecr/manifest-kaniko1.8.1.tmpl
|
2022-03-31 11:23:50 +02:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
ref:
|
|
|
|
- refs/heads/main
|
|
|
|
- "refs/tags/**"
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- default
|
2022-08-17 08:24:11 +02:00
|
|
|
- arm
|