mirror of
https://github.com/thegeeklab/ansible-doctor.git
synced 2024-11-22 04:40:43 +00:00
test multiarch container build
This commit is contained in:
parent
3768ee4eb0
commit
3fea05d13c
@ -164,7 +164,6 @@ local PipelineBuildContainer(arch="amd64") = {
|
|||||||
pull: "always",
|
pull: "always",
|
||||||
settings: {
|
settings: {
|
||||||
dry_run: true,
|
dry_run: true,
|
||||||
tags: "linux-" + arch,
|
|
||||||
dockerfile: "Dockerfile",
|
dockerfile: "Dockerfile",
|
||||||
repo: "xoxys/ansible-doctor",
|
repo: "xoxys/ansible-doctor",
|
||||||
username: { "from_secret": "docker_username" },
|
username: { "from_secret": "docker_username" },
|
||||||
@ -177,14 +176,13 @@ local PipelineBuildContainer(arch="amd64") = {
|
|||||||
pull: "always",
|
pull: "always",
|
||||||
settings: {
|
settings: {
|
||||||
auto_tag: true,
|
auto_tag: true,
|
||||||
auto_tag_suffix: "linux-" + arch,
|
|
||||||
dockerfile: "Dockerfile",
|
dockerfile: "Dockerfile",
|
||||||
repo: "xoxys/ansible-doctor",
|
repo: "xoxys/ansible-doctor",
|
||||||
username: { "from_secret": "docker_username" },
|
username: { "from_secret": "docker_username" },
|
||||||
password: { "from_secret": "docker_password" },
|
password: { "from_secret": "docker_password" },
|
||||||
},
|
},
|
||||||
when: {
|
when: {
|
||||||
ref: [ "refs/tags/**" ],
|
ref: ["refs/heads/master", "refs/tags/**"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
11
.drone.yml
11
.drone.yml
@ -187,7 +187,6 @@ steps:
|
|||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
repo: xoxys/ansible-doctor
|
repo: xoxys/ansible-doctor
|
||||||
tags: linux-amd64
|
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
|
|
||||||
@ -196,7 +195,6 @@ steps:
|
|||||||
image: plugins/docker:linux-amd64
|
image: plugins/docker:linux-amd64
|
||||||
settings:
|
settings:
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
auto_tag_suffix: linux-amd64
|
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
@ -205,6 +203,7 @@ steps:
|
|||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
when:
|
when:
|
||||||
ref:
|
ref:
|
||||||
|
- refs/heads/master
|
||||||
- "refs/tags/**"
|
- "refs/tags/**"
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
@ -240,7 +239,6 @@ steps:
|
|||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
repo: xoxys/ansible-doctor
|
repo: xoxys/ansible-doctor
|
||||||
tags: linux-arm64
|
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
|
|
||||||
@ -249,7 +247,6 @@ steps:
|
|||||||
image: plugins/docker:linux-arm64
|
image: plugins/docker:linux-arm64
|
||||||
settings:
|
settings:
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
auto_tag_suffix: linux-arm64
|
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
@ -258,6 +255,7 @@ steps:
|
|||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
when:
|
when:
|
||||||
ref:
|
ref:
|
||||||
|
- refs/heads/master
|
||||||
- "refs/tags/**"
|
- "refs/tags/**"
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
@ -293,7 +291,6 @@ steps:
|
|||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
repo: xoxys/ansible-doctor
|
repo: xoxys/ansible-doctor
|
||||||
tags: linux-arm
|
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
|
|
||||||
@ -302,7 +299,6 @@ steps:
|
|||||||
image: plugins/docker:linux-arm
|
image: plugins/docker:linux-arm
|
||||||
settings:
|
settings:
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
auto_tag_suffix: linux-arm
|
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
@ -311,6 +307,7 @@ steps:
|
|||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
when:
|
when:
|
||||||
ref:
|
ref:
|
||||||
|
- refs/heads/master
|
||||||
- "refs/tags/**"
|
- "refs/tags/**"
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
@ -360,6 +357,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 9b8fd130a9d32ff9e8302b375eccc6d52572f3d218798d6153516c58a055c261
|
hmac: 2db6ebb30be1f686e852ed208db770c956667f430738007d007380eaa81cab82
|
||||||
|
|
||||||
...
|
...
|
||||||
|
2
CHANGELOG.md
Normal file
2
CHANGELOG.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
* FEATURE
|
||||||
|
* initial release
|
@ -1,22 +0,0 @@
|
|||||||
image: xoxys/ansible-doctor:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
|
|
||||||
{{#if build.tags}}
|
|
||||||
tags:
|
|
||||||
{{#each build.tags}}
|
|
||||||
- {{ this}}
|
|
||||||
{{/each}}
|
|
||||||
{{/if}}
|
|
||||||
manifests:
|
|
||||||
- image: xoxys/ansible-doctor:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64
|
|
||||||
platform:
|
|
||||||
architecture: amd64
|
|
||||||
os: linux
|
|
||||||
|
|
||||||
- image: xoxys/ansible-doctor:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm64
|
|
||||||
platform:
|
|
||||||
architecture: arm64
|
|
||||||
os: linux
|
|
||||||
|
|
||||||
- image: xoxys/ansible-doctor:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm
|
|
||||||
platform:
|
|
||||||
architecture: arm
|
|
||||||
os: linux
|
|
Loading…
Reference in New Issue
Block a user