1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-23 01:20:11 +00:00

fix triggers aarch64 = arm64

This commit is contained in:
Harvey Tindall 2021-02-11 22:25:00 +00:00
parent c3af0f4380
commit 81fb0fc69f
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2

View File

@ -19,8 +19,9 @@ steps:
- (curl -sL https://deb.nodesource.com/setup_14.x | bash -) - (curl -sL https://deb.nodesource.com/setup_14.x | bash -)
- apt install nodejs - apt install nodejs
- curl -sL https://git.io/goreleaser | bash - curl -sL https://git.io/goreleaser | bash
when: trigger:
event: tag event:
- tag
--- ---
name: amd64-docker name: amd64-docker
kind: pipeline kind: pipeline
@ -38,16 +39,16 @@ steps:
from_secret: docker_key from_secret: docker_key
repo: hrfee/jfa-go repo: hrfee/jfa-go
tags: manifest-latest-amd64 tags: manifest-latest-amd64
when: trigger:
event: tag event:
- tag
--- ---
name: aarch64-docker name: arm64-docker
kind: pipeline kind: pipeline
type: docker type: docker
steps: steps:
- name: aarch64-ssh - name: arm64-ssh
image: appleboy/drone-ssh image: appleboy/drone-ssh
volumes: volumes:
- name: ssh_key - name: ssh_key
@ -65,9 +66,9 @@ steps:
command_timeout: 30m command_timeout: 30m
script: script:
- /home/rock64/jfa-go-build/build-stable.sh - /home/rock64/jfa-go-build/build-stable.sh
when: trigger:
event: tag event:
- tag
volumes: volumes:
- name: ssh_key - name: ssh_key
host: host:
@ -96,9 +97,9 @@ steps:
command_timeout: 30m command_timeout: 30m
script: script:
- ssh pi /home/pi/jfa-go-build/build-stable.sh - ssh pi /home/pi/jfa-go-build/build-stable.sh
when: trigger:
event: tag event:
- tag
volumes: volumes:
- name: ssh_key - name: ssh_key
host: host:
@ -120,13 +121,14 @@ steps:
template: hrfee/jfa-go:manifest-latest-ARCH template: hrfee/jfa-go:manifest-latest-ARCH
platforms: platforms:
- linux/amd64 - linux/amd64
- linux/aarch64 - linux/arm64
- linux/armhf - linux/armhf
when: trigger:
event: tag event:
- tag
depends_on: depends_on:
- amd64-docker - amd64-docker
- aarch64-docker - arm64-docker
- armhf-docker - armhf-docker
--- ---
name: jfa-go-git name: jfa-go-git
@ -174,12 +176,12 @@ steps:
tags: manifest-unstable-amd64 tags: manifest-unstable-amd64
--- ---
name: aarch64-docker-git name: arm64-docker-git
kind: pipeline kind: pipeline
type: docker type: docker
steps: steps:
- name: aarch64-ssh - name: arm64-ssh
image: appleboy/drone-ssh image: appleboy/drone-ssh
volumes: volumes:
- name: ssh_key - name: ssh_key
@ -264,11 +266,11 @@ steps:
template: hrfee/jfa-go:manifest-unstable-ARCH template: hrfee/jfa-go:manifest-unstable-ARCH
platforms: platforms:
- linux/amd64 - linux/amd64
- linux/aarch64 - linux/arm64
- linux/armhf - linux/armhf
depends_on: depends_on:
- amd64-docker-git - amd64-docker-git
- aarch64-docker-git - arm64-docker-git
- armhf-docker-git - armhf-docker-git
--- ---
name: jfa-go-pr name: jfa-go-pr