pihole-exporter/.github/workflows/master.yml

48 lines
1.3 KiB
YAML
Raw Normal View History

name: Build and Publish (master)
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-amd64:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build and Push Docker Image (Linux - AMD64)
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: ekofr/pihole-exporter
tags: amd64
build_args: OS=linux,ARCH=amd64,IMAGE=scratch
build-arm32:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build and Push Docker Image (Linux - ARM32)
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: ekofr/pihole-exporter
tags: arm32
build_args: OS=linux,ARCH=arm,IMAGE=arm32v7/alpine:3.11
build-arm64:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
2020-04-04 17:20:09 +02:00
- name: Build and Push Docker Image (Linux - ARM64)
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: ekofr/pihole-exporter
2020-04-04 06:46:31 +02:00
tags: arm64
build_args: OS=linux,ARCH=arm64,IMAGE=arm64v8/alpine:3.11