Skip to content

Commit

Permalink
drone: use fixed image name
Browse files Browse the repository at this point in the history
Signed-off-by: Vicente Cheng <vicente.cheng@suse.com>
  • Loading branch information
Vicente-Cheng committed Dec 22, 2023
1 parent aadd48c commit 702206a
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,6 @@ volumes:
kind: pipeline
name: manifest

environment:
IMAGE_NAME: "rancher/harvester-node-disk-manager"

steps:
- name: push-manifest-head
image: plugins/manifest
Expand All @@ -161,8 +158,8 @@ steps:
from_secret: docker_username
password:
from_secret: docker_password
target: "${IMAGE_NAME}:${DRONE_BRANCH}-head"
template: "${IMAGE_NAME}:${DRONE_BRANCH}-head-OS-ARCH"
target: "rancher/harvester-node-disk-manager:${DRONE_BRANCH}-head"
template: "rancher/harvester-node-disk-manager:${DRONE_BRANCH}-head-OS-ARCH"
ignore_missing: true
platforms:
- linux/amd64
Expand All @@ -182,8 +179,8 @@ steps:
from_secret: docker_username
password:
from_secret: docker_password
target: "${IMAGE_NAME}:${DRONE_TAG}"
template: "${IMAGE_NAME}:${DRONE_TAG}-OS-ARCH"
target: "rancher/harvester-node-disk-manager:${DRONE_TAG}"
template: "rancher/harvester-node-disk-manager:${DRONE_TAG}-OS-ARCH"
ignore_missing: true
platforms:
- linux/amd64
Expand Down

0 comments on commit 702206a

Please sign in to comment.