This commit is contained in:
parent
cb54089674
commit
bf09fb0f11
1 changed files with 3 additions and 8 deletions
11
.drone.yml
11
.drone.yml
|
@ -9,7 +9,7 @@ steps:
|
|||
- name: extra-tags
|
||||
image: busybox:latest
|
||||
commands:
|
||||
- echo "$BASE_TAG-$GIT_BRANCH-linux-amd64,$GIT_BRANCH-linux-amd64" | sed 's/\\//-/g' > .tags
|
||||
- echo "$BASE_TAG-$GIT_BRANCH-linux-amd64,$GIT_BRANCH-linux-amd64,latest-linux-amd64,linux-amd64,amd64" | sed 's/\\//-/g' > .tags
|
||||
|
||||
- name: push
|
||||
image: plugins/docker:20
|
||||
|
@ -19,8 +19,6 @@ steps:
|
|||
from_secret: dockerhub_token
|
||||
repo: asonix/mastodon
|
||||
dockerfile: Dockerfile
|
||||
auto_tag: true
|
||||
auto_tag_suffix: linux-amd64
|
||||
build_args:
|
||||
- REPO_ARCH=amd64
|
||||
- GIT_REPOSITORY=https://git.asonix.dog/asonix/mastodon
|
||||
|
@ -44,7 +42,7 @@ steps:
|
|||
- name: extra-tags
|
||||
image: busybox:latest
|
||||
commands:
|
||||
- echo "$BASE_TAG-$GIT_BRANCH-linux-arm64v8,$GIT_BRANCH-linux-arm64v8" | sed 's/\\//-/g' > .tags
|
||||
- echo "$BASE_TAG-$GIT_BRANCH-linux-arm64v8,$GIT_BRANCH-linux-arm64v8,latest-linux-arm64v8,linux-arm64v8,arm64v8" | sed 's/\\//-/g' > .tags
|
||||
|
||||
- name: push
|
||||
image: plugins/docker:20
|
||||
|
@ -54,8 +52,6 @@ steps:
|
|||
from_secret: dockerhub_token
|
||||
repo: asonix/mastodon
|
||||
dockerfile: Dockerfile
|
||||
auto_tag: true
|
||||
auto_tag_suffix: linux-arm64v8
|
||||
build_args:
|
||||
- REPO_ARCH=arm64v8
|
||||
- GIT_REPOSITORY=https://git.asonix.dog/asonix/mastodon
|
||||
|
@ -79,7 +75,7 @@ steps:
|
|||
- name: extra-tags
|
||||
image: busybox:latest
|
||||
commands:
|
||||
- echo "$BASE_TAG-$GIT_BRANCH,$GIT_BRANCH" | sed 's/\\//-/g' > .tags
|
||||
- echo "$BASE_TAG-$GIT_BRANCH,$GIT_BRANCH,latest-linux,latest" | sed 's/\\//-/g' > .tags
|
||||
|
||||
- name: manifest
|
||||
image: plugins/manifest:1
|
||||
|
@ -88,7 +84,6 @@ steps:
|
|||
password:
|
||||
from_secret: dockerhub_token
|
||||
dump: true
|
||||
auto_tag: true
|
||||
ignore_missing: true
|
||||
spec: manifest.tmpl
|
||||
|
||||
|
|
Loading…
Reference in a new issue