Files
framework-scheduler/.drone.yml
Gyorgy Berenyi ee0b103593
Some checks failed
continuous-integration/drone/push Build is failing
commented environment variables from drone
2025-05-06 12:14:20 +00:00

55 lines
1.2 KiB
YAML

kind: pipeline
type: kubernetes
name: default
node_selector:
physical-node: dev1
trigger:
event:
- push
- tag
workspace:
path: /drone/src
steps:
- name: pull image to dockerhub
image: docker.io/owncloudci/drone-docker-buildx:4
privileged: true
settings:
cache-from: [ "safebox/framework-scheduler" ]
repo: safebox/framework-scheduler
tags: latest
username:
from_secret: dockerhub-username
password:
from_secret: dockerhub-password
platforms:
- linux/amd64
- linux/arm64
when:
event:
- tag
- name: build multiarch from dev
image: docker.io/owncloudci/drone-docker-buildx:4
privileged: true
#environment:
# DOCKER_PLUGIN_MIRROR: "https://mirror.dev.format.hu"
settings:
cache-from: [ "registry.dev.format.hu/framework-scheduler" ]
registry: registry.dev.format.hu
repo: registry.dev.format.hu/framework-scheduler
tags: latest
dockerfile: Dockerfile
username:
from_secret: dev-hu-registry-username
password:
from_secret: dev-hu-registry-password
platforms:
- linux/amd64
- linux/arm64
when:
event:
- push