Skip to content

Commit

Permalink
Add wireguard image
Browse files Browse the repository at this point in the history
  • Loading branch information
jveski committed Jun 22, 2024
1 parent e1087cd commit 33894e6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/wireguard.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release
on:
push:
paths:
- "wireguard/**"

jobs:
release:
name: Release Wireguard
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Check out code

- uses: mr-smithers-excellent/docker-build-push@v6
name: Build and Push Image
with:
image: wireguard
registry: ghcr.io
dockerfile: wireguard/Dockerfile
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
4 changes: 4 additions & 0 deletions wireguard/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM docker.io/linuxserver/wireguard:1.0.20210914

RUN sed -i "s/51820/80/" defaults/server.conf

0 comments on commit 33894e6

Please sign in to comment.