mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Use modified tag for manifest push
This commit is contained in:
parent
0f644650f5
commit
d14faf95ba
19
.drone.yml
19
.drone.yml
@ -259,18 +259,17 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: manifest
|
||||
image: plugins/manifest:1.0.2
|
||||
settings:
|
||||
username:
|
||||
image: rancher/dapper:v0.4.2
|
||||
environment:
|
||||
USERNAME:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
PASSWORD:
|
||||
from_secret: docker_password
|
||||
platforms:
|
||||
- linux/amd64
|
||||
- linux/arm64
|
||||
- linux/arm
|
||||
target: "rancher/k3s:${DRONE_TAG}"
|
||||
template: "rancher/k3s:${DRONE_TAG}-ARCH"
|
||||
commands:
|
||||
- export DOCKER_TAG=$(echo "${DRONE_TAG}" | sed -e 's/+/-/g')
|
||||
- docker login -u $env:USERNAME -p $env:PASSWORD
|
||||
- docker manifest create ${DOCKER_TAG} ${DOCKER_TAG}-amd64 ${DOCKER_TAG}-arm64 ${DOCKER_TAG}-arm
|
||||
- docker manifest push ${DOCKER_TAG}
|
||||
when:
|
||||
instance:
|
||||
- drone-publish.rancher.io
|
||||
|
Loading…
Reference in New Issue
Block a user