Skip to content

Commit

Permalink
feat(.drone.yml): add harvester-* to docker-build
Browse files Browse the repository at this point in the history
Signed-off-by: PoAn Yang <yangpoan@gmail.com>
  • Loading branch information
FrankYang0529 authored and bk201 committed Feb 2, 2024
1 parent 0496647 commit 2d32319
Showing 1 changed file with 4 additions and 33 deletions.
37 changes: 4 additions & 33 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,37 +14,6 @@ steps:
- ./scripts/ci

- name: docker-build
image: plugins/docker
settings:
dockerfile: Dockerfile
repo: "rancher/harvester-os"
tag: "dev-head"
dry_run: true
when:
instance:
- drone-pr.rancher.io
branch:
- dev

- name: docker-publish-dev
image: plugins/docker
settings:
dockerfile: Dockerfile
repo: "rancher/harvester-os"
tag: "dev-head"
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
instance:
- drone-publish.rancher.io
ref:
- refs/heads/dev
event:
- push

- name: docker-build-sle-micro
image: plugins/docker
settings:
dockerfile: Dockerfile
Expand All @@ -56,8 +25,9 @@ steps:
- drone-pr.rancher.io
branch:
- sle-micro
- harvester-*

- name: docker-publish-sle-micro
- name: docker-publish
image: plugins/docker
settings:
dockerfile: Dockerfile
Expand All @@ -72,10 +42,11 @@ steps:
- drone-publish.rancher.io
ref:
- refs/heads/sle-micro
- refs/heads/harvester-*
event:
- push

- name: docker-publish
- name: docker-publish-tag
image: plugins/docker
settings:
dockerfile: Dockerfile
Expand Down

0 comments on commit 2d32319

Please sign in to comment.