test multiarch container build

This commit is contained in:
Robert Kaussow 2019-10-09 12:38:19 +02:00
parent 324daae509
commit 97423bcf32
4 changed files with 12 additions and 18 deletions

View File

@ -209,7 +209,7 @@ local PipelineNotifications = {
pull: "always",
settings: {
ignore_missing: true,
auto_tag: true,
tags: ["${DRONE_TAG}", "${DRONE_TAG%-*}", "${DRONE_TAG%.*}", "${DRONE_TAG%%.*}"],
username: { from_secret: "docker_username" },
password: { from_secret: "docker_password" },
spec: "manifest.tmpl",

View File

@ -138,20 +138,6 @@ steps:
commands:
- "cd dist/ && sha256sum * > sha256sum.txt"
- name: publish-pypi
pull: always
image: plugins/pypi
settings:
password:
from_secret: pypi_password
repository: https://upload.pypi.org/legacy/
skip_build: true
username:
from_secret: pypi_username
when:
ref:
- "refs/tags/**"
- name: publish-github
pull: always
image: plugins/github-release
@ -349,11 +335,15 @@ steps:
pull: always
image: plugins/manifest
settings:
auto_tag: true
ignore_missing: true
password:
from_secret: docker_password
spec: manifest.tmpl
tags:
- "${DRONE_TAG}"
- "${DRONE_TAG%-*}"
- "${DRONE_TAG%.*}"
- "${DRONE_TAG%%.*}"
username:
from_secret: docker_username
when:
@ -413,6 +403,6 @@ depends_on:
---
kind: signature
hmac: c058f002db91849e25873dfd440bb27949e6bb0de7087ceada91ba7fedcb93c2
hmac: 8e2fd7a3c62cabf6824d72b6aee4d486b4a7a8234e43ae8629510c3334c4626f
...

View File

@ -1,4 +1,8 @@
# ansible-doctor
[![Build Status](https://cloud.drone.io/api/badges/xoxys/ansible-doctor/status.svg)](https://cloud.drone.io/xoxys/ansible-doctor)
[![](https://images.microbadger.com/badges/image/xoxys/ansible-doctor.svg)](https://microbadger.com/images/xoxys/ansible-doctor "Get your own image badge on microbadger.com")
[![](https://images.microbadger.com/badges/version/xoxys/ansible-doctor.svg)](https://microbadger.com/images/xoxys/ansible-doctor "Get your own version badge on microbadger.com")
[![](https://images.microbadger.com/badges/version/xoxys/ansible-doctor:amd64.svg)](https://microbadger.com/images/xoxys/ansible-doctor:amd64 "Get your own version badge on microbadger.com")
[![](https://images.microbadger.com/badges/version/xoxys/ansible-doctor:arm.svg)](https://microbadger.com/images/xoxys/ansible-doctor:arm "Get your own version badge on microbadger.com")
![License](https://img.shields.io/github/license/xoxys/ansible-doctor)

View File

@ -2,7 +2,7 @@ image: xoxys/ansible-doctor:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}
{{#if build.tags}}
tags:
{{#each build.tags}}
- {{ this }}
- {{trimPrefix "v" this}}
{{/each}}
{{/if}}
manifests: