add drone pipeline for arm image (#30)

fix #27
This commit is contained in:
Dmitry Belyaev 2020-08-16 14:45:13 +03:00 committed by GitHub
parent e4ce0fe599
commit 4251447c9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 34 additions and 0 deletions

34
.drone.yml Normal file
View File

@ -0,0 +1,34 @@
---
kind: pipeline
type: docker
name: arm32 images
platform:
os: linux
arch: arm
steps:
- name: squid image for dockerhub
image: plugins/docker
settings:
repo: b4tman/squid
auto_tag: true
auto_tag_suffix: armhf
pull_image: true
username:
from_secret: dockerhub_login
password:
from_secret: dockerhub_token
- name: squid-armhf image for github packages
image: plugins/docker
settings:
repo: docker.pkg.github.com/b4tman/docker-squid/squid-armhf
auto_tag: true
pull_image: true
registry: docker.pkg.github.com
username:
from_secret: github_login
password:
from_secret: github_token
trigger:
ref:
- refs/tags/**
- refs/heads/master