Browse Source

Merge pull request #4 from techknowlogick/patch-1

fix drone image name
master
Jonas Franz 2 years ago committed by GitHub
parent
commit
f6b7f983a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      .drone.yml
  2. 8
      docker/manifest.tmpl

12
.drone.yml

@ -73,7 +73,7 @@ steps: @@ -73,7 +73,7 @@ steps:
settings:
dockerfile: docker/Dockerfile.linux.amd64
dry_run: true
repo: jonasfranz/drone-crowdin
repo: jonasfranz/crowdin
tags: linux-amd64
when:
event:
@ -88,7 +88,7 @@ steps: @@ -88,7 +88,7 @@ steps:
dockerfile: docker/Dockerfile.linux.amd64
password:
from_secret: docker_password
repo: jonasfranz/drone-crowdin
repo: jonasfranz/crowdin
username:
from_secret: docker_username
when:
@ -149,7 +149,7 @@ steps: @@ -149,7 +149,7 @@ steps:
settings:
dockerfile: docker/Dockerfile.linux.arm64
dry_run: true
repo: jonasfranz/drone-crowdin
repo: jonasfranz/crowdin
tags: linux-arm64
when:
event:
@ -164,7 +164,7 @@ steps: @@ -164,7 +164,7 @@ steps:
dockerfile: docker/Dockerfile.linux.arm64
password:
from_secret: docker_password
repo: jonasfranz/drone-crowdin
repo: jonasfranz/crowdin
username:
from_secret: docker_username
when:
@ -225,7 +225,7 @@ steps: @@ -225,7 +225,7 @@ steps:
settings:
dockerfile: docker/Dockerfile.linux.arm
dry_run: true
repo: jonasfranz/drone-crowdin
repo: jonasfranz/crowdin
tags: linux-arm
when:
event:
@ -240,7 +240,7 @@ steps: @@ -240,7 +240,7 @@ steps:
dockerfile: docker/Dockerfile.linux.arm
password:
from_secret: docker_password
repo: jonasfranz/drone-crowdin
repo: jonasfranz/crowdin
username:
from_secret: docker_username
when:

8
docker/manifest.tmpl

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

Loading…
Cancel
Save