Skip to content

Docker PIVPN

Docker PIVPN #409

Workflow file for this run

name: Docker PIVPN
on:
schedule:
- cron: '0 0 * * 5'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: docker login
run: |
echo ${{ secrets.DOCKER_PASSWORD }} | docker login --username ${{ secrets.DOCKER_USER }} --password-stdin
- name: docker buildx multiarch
run: |
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
docker buildx create --name multiarch --driver docker-container --use
docker buildx inspect --bootstrap
- name: docker build docker
env:
DOCKER_USER: ${{ secrets.DOCKER_USER }}
run: |
docker buildx build . -t $DOCKER_USER/pivpn:latest --platform linux/arm64,linux/arm/v6,linux/amd64 --push
# linux/arm/v5,
# linux/386,linux/amd64,linux/arm/v5,linux/arm/v7,linux/arm64/v8