mirror of
https://github.com/hrfee/jfa-go.git
synced 2025-01-01 05:50:12 +00:00
Compare commits
2 Commits
1af8d1f77d
...
060f0efc16
Author | SHA1 | Date | |
---|---|---|---|
060f0efc16 | |||
76935a300a |
32
.drone.yml
32
.drone.yml
@ -22,6 +22,8 @@ steps:
|
|||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
---
|
---
|
||||||
name: amd64-docker
|
name: amd64-docker
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
@ -42,6 +44,8 @@ steps:
|
|||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
---
|
---
|
||||||
name: arm64-docker
|
name: arm64-docker
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
@ -69,6 +73,8 @@ steps:
|
|||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
volumes:
|
volumes:
|
||||||
- name: ssh_key
|
- name: ssh_key
|
||||||
host:
|
host:
|
||||||
@ -100,6 +106,8 @@ steps:
|
|||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
volumes:
|
volumes:
|
||||||
- name: ssh_key
|
- name: ssh_key
|
||||||
host:
|
host:
|
||||||
@ -127,11 +135,16 @@ steps:
|
|||||||
key_path: /root/drone_rsa
|
key_path: /root/drone_rsa
|
||||||
command_timeout: 50m
|
command_timeout: 50m
|
||||||
script:
|
script:
|
||||||
|
- docker pull hrfee/jfa-go:manifest-latest-amd64
|
||||||
|
- docker pull hrfee/jfa-go:manifest-latest-arm64
|
||||||
|
- docker pull hrfee/jfa-go:manifest-latest-armhf
|
||||||
- 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 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
|
- env DOCKER_CLI_EXPERIMENTAL=enabled docker manifest push hrfee/jfa-go:latest
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
volumes:
|
volumes:
|
||||||
- name: ssh_key
|
- name: ssh_key
|
||||||
host:
|
host:
|
||||||
@ -185,6 +198,13 @@ steps:
|
|||||||
repo: hrfee/jfa-go
|
repo: hrfee/jfa-go
|
||||||
tags: manifest-unstable-amd64
|
tags: manifest-unstable-amd64
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
event:
|
||||||
|
exclude:
|
||||||
|
- pull_request
|
||||||
|
|
||||||
---
|
---
|
||||||
name: arm64-docker-git
|
name: arm64-docker-git
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
@ -213,7 +233,6 @@ steps:
|
|||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
- go1.16
|
|
||||||
event:
|
event:
|
||||||
exclude:
|
exclude:
|
||||||
- pull_request
|
- pull_request
|
||||||
@ -250,7 +269,6 @@ steps:
|
|||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
- go1.16
|
|
||||||
event:
|
event:
|
||||||
exclude:
|
exclude:
|
||||||
- pull_request
|
- pull_request
|
||||||
@ -272,16 +290,19 @@ steps:
|
|||||||
path: /root/drone_rsa
|
path: /root/drone_rsa
|
||||||
settings:
|
settings:
|
||||||
host:
|
host:
|
||||||
from_secret: ssh_host
|
from_secret: ssh2_host
|
||||||
username:
|
username:
|
||||||
from_secret: ssh_username
|
from_secret: ssh2_username
|
||||||
port:
|
port:
|
||||||
from_secret: ssh_port
|
from_secret: ssh2_port
|
||||||
volumes:
|
volumes:
|
||||||
- /root/.ssh/docker-build:/root/drone_rsa
|
- /root/.ssh/docker-build:/root/drone_rsa
|
||||||
key_path: /root/drone_rsa
|
key_path: /root/drone_rsa
|
||||||
command_timeout: 50m
|
command_timeout: 50m
|
||||||
script:
|
script:
|
||||||
|
- docker pull hrfee/jfa-go:manifest-unstable-amd64
|
||||||
|
- docker pull hrfee/jfa-go:manifest-unstable-arm64
|
||||||
|
- docker pull hrfee/jfa-go:manifest-unstable-armhf
|
||||||
- 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 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
|
- env DOCKER_CLI_EXPERIMENTAL=enabled docker manifest push hrfee/jfa-go:unstable
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -291,7 +312,6 @@ depends_on:
|
|||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
- go1.16
|
|
||||||
event:
|
event:
|
||||||
exclude:
|
exclude:
|
||||||
- pull_request
|
- pull_request
|
||||||
|
Loading…
Reference in New Issue
Block a user