Add Dockerfile + Workflow
All checks were successful
Build StateSpaces Docker Image / statespaces-docker (push) Successful in 38s
All checks were successful
Build StateSpaces Docker Image / statespaces-docker (push) Successful in 38s
This commit is contained in:
22
.gitea/workflows/statespace-docker.yaml
Normal file
22
.gitea/workflows/statespace-docker.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
name: Build StateSpaces Docker Image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
statespaces-docker:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Login to container registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: gitea.vps.chriphost.de
|
||||
username: ${{ secrets.CONTAINER_REGISTRY_USER }}
|
||||
password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }}
|
||||
- name: Build StateSpaces Docker Image
|
||||
run: docker build --file dockerfile --tag gitea.vps.chriphost.de/christoph/statespaces:latest .
|
||||
- name: Push StateSpaces Docker Image
|
||||
run: docker push gitea.vps.chriphost.de/christoph/statespaces:latest
|
Reference in New Issue
Block a user