From 0a94ba48629a174ae978f7f259d188895d43e541 Mon Sep 17 00:00:00 2001 From: mat ess Date: Thu, 20 Oct 2022 18:05:25 -0400 Subject: [PATCH] Support only amd64 for now --- .drone.yml | 94 +-------------------------------------------------- manifest.tmpl | 16 ++------- 2 files changed, 3 insertions(+), 107 deletions(-) diff --git a/.drone.yml b/.drone.yml index ceaba13..2ec6630 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 ... diff --git a/manifest.tmpl b/manifest.tmpl index b383a66..0c6a070 100644 --- a/manifest.tmpl +++ b/manifest.tmpl @@ -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