test on all arch and build when push tags

pull/1/head
webhainaut 5 years ago
parent 8a0f098d68
commit 46a4502ae7
  1. 5
      .github/workflows/image.yml
  2. 5
      .travis.yml

@ -3,6 +3,8 @@ name: Build ovh-dyndns image
on:
push:
branches: [ master ]
tags:
- v*
jobs:
build-image:
@ -15,7 +17,8 @@ jobs:
run: |
DOCKER_IMAGE=webhainaut/ovh-dyndns
DOCKER_PLATFORMS=linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/386,linux/ppc64le,linux/s390x
VERSION=latest
VERSION=edge
if [[ $GITHUB_REF == refs/tags/* ]]; then
VERSION=${GITHUB_REF#refs/tags/v}
fi

@ -1,5 +1,10 @@
language: bash
os: linux
arch:
- amd64
- arm64
- ppc64le
- s390x
services: docker
sudo: required

Loading…
Cancel
Save