This commit is contained in:
2021-09-13 11:30:14 -04:00
parent e50966cdb3
commit 085f3a506b
4 changed files with 140 additions and 0 deletions

52
.github/workflows/dante.yml vendored Normal file
View File

@@ -0,0 +1,52 @@
on:
push:
branches: [ main ]
paths:
- 'dante/*'
pull_request:
branches: [ main ]
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Log into registry
uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Build and push WG
uses: docker/build-push-action@v2
with:
context: dante/
platforms: linux/arm/v7
push: true
file: dante/Dockerfile.wireguard
tags: ghcr.io/sstent/dante-wg:latest
build-args: |
RELEASE=v0.3.5
-
name: Build and push
uses: docker/build-push-action@v2
with:
context: dante/
platforms: linux/arm/v7
push: true
file: dante/Dockerfile.openvpn
tags: ghcr.io/sstent/dante:latest
build-args: |
RELEASE=v0.3.5