nemubot/.drone.yml
nemunaire 38b5b1eabd
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Also build for arm64
2023-10-14 23:01:11 +00:00

53 lines
1016 B
YAML

---
kind: pipeline
type: docker
name: default-arm
platform:
os: linux
arch: arm
steps:
- name: build
image: python:alpine
commands:
- pip install --no-cache-dir -r requirements.txt
- pip install .
- name: docker
image: plugins/docker:linux-arm
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
---
kind: pipeline
type: docker
name: default-arm64
platform:
os: linux
arch: arm64
steps:
- name: build
image: python:alpine
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