2020-04-20 08:49:48 +00:00
|
|
|
---
|
2020-04-20 08:46:18 +00:00
|
|
|
kind: pipeline
|
2020-04-20 08:49:48 +00:00
|
|
|
type: docker
|
2022-12-23 20:56:46 +00:00
|
|
|
name: build_amd64
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
steps:
|
2022-12-23 21:12:49 +00:00
|
|
|
- name: send-tags-to-tags-file
|
|
|
|
image: node
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- pull_request
|
|
|
|
commands:
|
|
|
|
- echo -n "$(date +'%Y%m%d'), latest" > .tags
|
|
|
|
|
2022-12-23 20:56:46 +00:00
|
|
|
- name: push docker image
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: j10l/nsd-docker
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2020-04-20 08:46:18 +00:00
|
|
|
|
2022-12-23 20:56:46 +00:00
|
|
|
volumes:
|
|
|
|
- name: docker_sock
|
|
|
|
host:
|
|
|
|
path: /var/run/docker.sock
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2022-12-23 20:57:41 +00:00
|
|
|
name: build_arm64
|
2022-12-23 20:56:46 +00:00
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm64
|
2020-04-20 08:46:18 +00:00
|
|
|
steps:
|
2022-12-23 21:12:49 +00:00
|
|
|
- name: send-tags-to-tags-file
|
|
|
|
image: node
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- pull_request
|
|
|
|
commands:
|
|
|
|
- echo -n "$(date +'%Y%m%d')-arm64, latest-arm64" > .tags
|
|
|
|
|
2020-04-20 09:15:00 +00:00
|
|
|
- name: push docker image
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: j10l/nsd-docker
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2020-04-20 08:53:47 +00:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
- name: docker_sock
|
|
|
|
host:
|
|
|
|
path: /var/run/docker.sock
|
2022-12-23 20:56:46 +00:00
|
|
|
|