Added docker stuff

This commit is contained in:
Alois 2025-11-25 21:09:56 +01:00
commit 33aa3d0ae7
3 changed files with 41 additions and 1 deletions

22
.github/workflows/build.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: Build & Publish Docker Image
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Login to Registry
run: |
echo "${{ secrets.DOCKER_PASSWD }}" | docker login \
docker.tensamin.net \
-u "${{ secrets.DOCKER_USER }}" \
--password-stdin
- name: Build and Push
run: |
docker build -t docker.tensamin.net/iota:latest .
docker push docker.tensamin.net/iota:latest