add docker

This commit is contained in:
Bryan Gerlach
2025-01-23 16:44:17 -06:00
parent 7c7217e1d4
commit d293698e00
7 changed files with 66 additions and 81 deletions

26
.github/workflows/docker-build.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: update docker image
on:
push:
branches:
- "master"
jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: ${{ vars.DOCKERHUB_USERNAME }}/rdgen:latest