1
0
Fork 0
nemubot/.drone.yml

53 lines
1.0 KiB
YAML
Raw Normal View History

2020-10-18 14:14:00 +00:00
---
kind: pipeline
type: docker
2023-10-14 23:01:11 +00:00
name: default-arm
2020-10-18 14:14:00 +00:00
platform:
os: linux
arch: arm
steps:
- name: build
2023-10-14 23:19:12 +00:00
image: python:3.11-alpine
2020-10-18 14:14:00 +00:00
commands:
- pip install --no-cache-dir -r requirements.txt
- pip install .
- name: docker
2023-01-18 14:27:38 +00:00
image: plugins/docker:linux-arm
2020-10-18 14:14:00 +00:00
settings:
repo: nemunaire/nemubot
auto_tag: true
auto_tag_suffix: ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
username:
from_secret: docker_username
password:
from_secret: docker_password
2023-10-14 23:01:11 +00:00
---
kind: pipeline
type: docker
name: default-arm64
platform:
os: linux
arch: arm64
steps:
- name: build
2023-10-14 23:19:12 +00:00
image: python:3.11-alpine
2023-10-14 23:01:11 +00:00
commands:
- pip install --no-cache-dir -r requirements.txt
- pip install .
- name: docker
image: plugins/docker
settings:
repo: nemunaire/nemubot
auto_tag: true
auto_tag_suffix: ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
username:
from_secret: docker_username
password:
from_secret: docker_password