Explicitly add docker build step for latest
This commit is contained in:
parent
480db6aa9b
commit
59092afbc0
1 changed files with 73 additions and 0 deletions
73
.drone1.yml
73
.drone1.yml
|
@ -602,6 +602,21 @@ steps:
|
||||||
image: docker:git
|
image: docker:git
|
||||||
commands:
|
commands:
|
||||||
- git fetch --tags
|
- git fetch --tags
|
||||||
|
- name: docker-arm-latest
|
||||||
|
image: plugins/docker:linux-arm
|
||||||
|
pull: true
|
||||||
|
settings:
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
repo: vikunja/api
|
||||||
|
tags: latest-linux-arm
|
||||||
|
depends_on: [ fetch-tags ]
|
||||||
|
when:
|
||||||
|
ref:
|
||||||
|
- refs/heads/main
|
||||||
|
|
||||||
- name: docker-arm
|
- name: docker-arm
|
||||||
image: plugins/docker:linux-arm
|
image: plugins/docker:linux-arm
|
||||||
pull: true
|
pull: true
|
||||||
|
@ -614,6 +629,25 @@ steps:
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
auto_tag_suffix: linux-arm
|
auto_tag_suffix: linux-arm
|
||||||
depends_on: [ fetch-tags ]
|
depends_on: [ fetch-tags ]
|
||||||
|
when:
|
||||||
|
ref:
|
||||||
|
- "refs/tags/**"
|
||||||
|
|
||||||
|
- name: docker-arm64-latest
|
||||||
|
image: plugins/docker:linux-arm64
|
||||||
|
pull: true
|
||||||
|
settings:
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
repo: vikunja/api
|
||||||
|
tags: latest-linux-arm64
|
||||||
|
depends_on: [ fetch-tags ]
|
||||||
|
when:
|
||||||
|
ref:
|
||||||
|
- refs/heads/main
|
||||||
|
|
||||||
- name: docker-arm64
|
- name: docker-arm64
|
||||||
image: plugins/docker:linux-arm64
|
image: plugins/docker:linux-arm64
|
||||||
pull: true
|
pull: true
|
||||||
|
@ -626,6 +660,9 @@ steps:
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
auto_tag_suffix: linux-arm64
|
auto_tag_suffix: linux-arm64
|
||||||
depends_on: [ fetch-tags ]
|
depends_on: [ fetch-tags ]
|
||||||
|
when:
|
||||||
|
ref:
|
||||||
|
- "refs/tags/**"
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
@ -649,6 +686,21 @@ steps:
|
||||||
image: docker:git
|
image: docker:git
|
||||||
commands:
|
commands:
|
||||||
- git fetch --tags
|
- git fetch --tags
|
||||||
|
- name: docker-latest
|
||||||
|
image: plugins/docker:linux-amd64
|
||||||
|
pull: true
|
||||||
|
settings:
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
repo: vikunja/api
|
||||||
|
tags: latest-linux-amd64
|
||||||
|
depends_on: [ fetch-tags ]
|
||||||
|
when:
|
||||||
|
ref:
|
||||||
|
- refs/heads/main
|
||||||
|
|
||||||
- name: docker
|
- name: docker
|
||||||
image: plugins/docker:linux-amd64
|
image: plugins/docker:linux-amd64
|
||||||
pull: true
|
pull: true
|
||||||
|
@ -661,6 +713,9 @@ steps:
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
auto_tag_suffix: linux-amd64
|
auto_tag_suffix: linux-amd64
|
||||||
depends_on: [ fetch-tags ]
|
depends_on: [ fetch-tags ]
|
||||||
|
when:
|
||||||
|
ref:
|
||||||
|
- "refs/tags/**"
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
@ -677,6 +732,21 @@ depends_on:
|
||||||
- docker-arm-release
|
- docker-arm-release
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: manifest-latest
|
||||||
|
pull: always
|
||||||
|
image: plugins/manifest
|
||||||
|
settings:
|
||||||
|
tags: latest
|
||||||
|
ignore_missing: true
|
||||||
|
spec: docker-manifest.tmpl
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
when:
|
||||||
|
ref:
|
||||||
|
- refs/heads/main
|
||||||
|
|
||||||
- name: manifest
|
- name: manifest
|
||||||
pull: always
|
pull: always
|
||||||
image: plugins/manifest
|
image: plugins/manifest
|
||||||
|
@ -688,6 +758,9 @@ steps:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
|
when:
|
||||||
|
ref:
|
||||||
|
- "refs/tags/**"
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
|
Loading…
Add table
Reference in a new issue