nsd-docker/.drone.yml
Jochen Welzel f4ceeb552c
All checks were successful
continuous-integration/drone/push Build is passing
rename tags
2022-12-23 22:12:49 +01:00

63 lines
1.0 KiB
YAML

---
kind: pipeline
type: docker
name: build_amd64
platform:
os: linux
arch: amd64
steps:
- name: send-tags-to-tags-file
image: node
when:
event:
- push
- pull_request
commands:
- echo -n "$(date +'%Y%m%d'), latest" > .tags
- name: push docker image
image: plugins/docker
settings:
repo: j10l/nsd-docker
username:
from_secret: docker_username
password:
from_secret: docker_password
volumes:
- name: docker_sock
host:
path: /var/run/docker.sock
---
kind: pipeline
type: docker
name: build_arm64
platform:
os: linux
arch: arm64
steps:
- name: send-tags-to-tags-file
image: node
when:
event:
- push
- pull_request
commands:
- echo -n "$(date +'%Y%m%d')-arm64, latest-arm64" > .tags
- name: push docker image
image: plugins/docker
settings:
repo: j10l/nsd-docker
username:
from_secret: docker_username
password:
from_secret: docker_password
volumes:
- name: docker_sock
host:
path: /var/run/docker.sock