Support only amd64 for now
continuous-integration/drone/push Build is passing Details

main
mat ess 2022-10-20 18:05:25 -04:00
parent 560cb5c81b
commit 0a94ba4862
2 changed files with 3 additions and 107 deletions

View File

@ -43,96 +43,6 @@ trigger:
- master
- main
---
kind: pipeline
name: linux-arm64
platform:
os: linux
arch: arm64
steps:
- name: dryrun
pull: always
image: plugins/docker:linux-arm64
settings:
dry_run: true
password:
from_secret: docker_password
repo: internetmat/drone-netlify
tags: linux-arm64
username:
from_secret: docker_username
when:
event:
- pull_request
- name: publish
pull: always
image: plugins/docker:linux-arm64
settings:
auto_tag: true
auto_tag_suffix: linux-arm64
password:
from_secret: docker_password
repo: internetmat/drone-netlify
username:
from_secret: docker_username
when:
event:
- push
- tag
trigger:
branch:
- master
- main
---
kind: pipeline
name: linux-arm
platform:
os: linux
arch: arm
steps:
- name: dryrun
pull: always
image: plugins/docker:linux-arm
settings:
dry_run: true
password:
from_secret: docker_password
repo: internetmat/drone-netlify
tags: linux-arm
username:
from_secret: docker_username
when:
event:
- pull_request
- name: publish
pull: always
image: plugins/docker:linux-arm
settings:
auto_tag: true
auto_tag_suffix: linux-arm
password:
from_secret: docker_password
repo: internetmat/drone-netlify
username:
from_secret: docker_username
when:
event:
- push
- tag
trigger:
branch:
- master
- main
---
kind: pipeline
name: notifications
@ -144,7 +54,7 @@ platform:
steps:
- name: manifest
pull: always
image: plugins/manifest:1
image: plugins/manifest:latest
settings:
ignore_missing: true
password:
@ -163,7 +73,5 @@ trigger:
depends_on:
- linux-amd64
- linux-arm64
- linux-arm
...

View File

@ -1,4 +1,4 @@
image: techknowlogick/drone-netlify:{{#if build.tag}}{{trimPrefix build.tag "v"}}{{else}}latest{{/if}}
image: internetmat/drone-netlify:{{#if build.tag}}{{trimPrefix build.tag "v"}}{{else}}latest{{/if}}
{{#if build.tags}}
tags:
{{#each build.tags}}
@ -7,19 +7,7 @@ tags:
{{/if}}
manifests:
-
image: techknowlogick/drone-netlify:{{#if build.tag}}{{trimPrefix build.tag "v"}}-{{/if}}linux-amd64
image: internetmat/drone-netlify:{{#if build.tag}}{{trimPrefix build.tag "v"}}-{{/if}}linux-amd64
platform:
architecture: amd64
os: linux
-
image: techknowlogick/drone-netlify:{{#if build.tag}}{{trimPrefix build.tag "v"}}-{{/if}}linux-arm64
platform:
architecture: arm64
os: linux
variant: v8
-
image: techknowlogick/drone-netlify:{{#if build.tag}}{{trimPrefix build.tag "v"}}-{{/if}}linux-arm
platform:
architecture: arm
os: linux
variant: v7