mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-23 01:20:11 +00:00
dont use drone manifest plugin
This commit is contained in:
parent
f72def0399
commit
94981f4891
60
.drone.yml
60
.drone.yml
@ -111,21 +111,31 @@ type: docker
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: manifest
|
- name: manifest
|
||||||
image: plugins/manifest
|
image: appleboy/drone-ssh
|
||||||
|
volumes:
|
||||||
|
- name: ssh_key
|
||||||
|
path: /root/drone_rsa
|
||||||
settings:
|
settings:
|
||||||
username: hrfee
|
host:
|
||||||
password:
|
from_secret: ssh_host
|
||||||
from_secret: docker_key
|
username:
|
||||||
repo: hrfee/jfa-go
|
from_secret: ssh_username
|
||||||
target: hrfee/jfa-go:latest
|
port:
|
||||||
template: hrfee/jfa-go:manifest-latest-ARCH
|
from_secret: ssh_port
|
||||||
platforms:
|
volumes:
|
||||||
- linux/amd64
|
- /root/.ssh/docker-build:/root/drone_rsa
|
||||||
- linux/arm64
|
key_path: /root/drone_rsa
|
||||||
- linux/armhf
|
command_timeout: 30m
|
||||||
|
script:
|
||||||
|
- env DOCKER_CLI_EXPERIMENTAL=enabled docker manifest create hrfee/jfa-go:latest --amend hrfee/jfa-go:manifest-latest-amd64 --amend hrfee/jfa-go:manifest-latest-arm64 --amend hrfee/jfa-go:manifest-latest-armhf
|
||||||
|
- env DOCKER_CLI_EXPERIMENTAL=enabled docker manifest push hrfee/jfa-go:latest
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
volumes:
|
||||||
|
- name: ssh_key
|
||||||
|
host:
|
||||||
|
path: /root/.ssh/docker-build
|
||||||
depends_on:
|
depends_on:
|
||||||
- amd64-docker
|
- amd64-docker
|
||||||
- arm64-docker
|
- arm64-docker
|
||||||
@ -256,18 +266,24 @@ type: docker
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: manifest
|
- name: manifest
|
||||||
image: plugins/manifest
|
image: appleboy/drone-ssh
|
||||||
|
volumes:
|
||||||
|
- name: ssh_key
|
||||||
|
path: /root/drone_rsa
|
||||||
settings:
|
settings:
|
||||||
username: hrfee
|
host:
|
||||||
password:
|
from_secret: ssh_host
|
||||||
from_secret: docker_key
|
username:
|
||||||
repo: hrfee/jfa-go
|
from_secret: ssh_username
|
||||||
target: hrfee/jfa-go:latest
|
port:
|
||||||
template: hrfee/jfa-go:manifest-unstable-ARCH
|
from_secret: ssh_port
|
||||||
platforms:
|
volumes:
|
||||||
- linux/amd64
|
- /root/.ssh/docker-build:/root/drone_rsa
|
||||||
- linux/arm64
|
key_path: /root/drone_rsa
|
||||||
- linux/armhf
|
command_timeout: 30m
|
||||||
|
script:
|
||||||
|
- env DOCKER_CLI_EXPERIMENTAL=enabled docker manifest create hrfee/jfa-go:unstable --amend hrfee/jfa-go:manifest-unstable-amd64 --amend hrfee/jfa-go:manifest-unstable-arm64 --amend hrfee/jfa-go:manifest-unstable-armhf
|
||||||
|
- env DOCKER_CLI_EXPERIMENTAL=enabled docker manifest push hrfee/jfa-go:unstable
|
||||||
depends_on:
|
depends_on:
|
||||||
- amd64-docker-git
|
- amd64-docker-git
|
||||||
- arm64-docker-git
|
- arm64-docker-git
|
||||||
|
Loading…
Reference in New Issue
Block a user