Update alpine and webproc, create automated build workflow

This commit is contained in:
2021-10-18 20:03:02 +01:00
parent d90bf041c0
commit 864b31678c
2 changed files with 23 additions and 8 deletions

18
.github/workflows/build.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
name: Build Docker Image
on:
push:
branches: master
jobs:
build:
name: Push to GHCR
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Login
run: echo ${{ secrets.GHCR_PAT }} | docker login ghcr.io -u dchidell --password-stdin
- name: Build
run: docker build . --file Dockerfile --tag ghcr.io/dchidell/radius-web:latest
- name: Push
run: |
docker push ghcr.io/dchidell/radius-web:latest