Compare commits

..

3 Commits

Author SHA1 Message Date
930a42fbad Merge pull request 'dockerize' (#2) from dockerize into main
Some checks failed
Docker Image CI for Gitea / build_and_publish (push) Failing after 46s
Reviewed-on: #2
2025-04-17 16:30:51 +02:00
e377bcb852 adding gitea workflow
Some checks failed
Docker Image CI for Gitea / build_and_publish (push) Has been cancelled
2025-04-17 16:29:43 +02:00
e0c59f48d4 dockerize app 2025-04-17 16:27:19 +02:00
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,17 @@
name: Docker Image CI for Gitea
on:
push
jobs:
build_and_publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Docker Login
run: docker login --username enub --password ${{ secrets.DOCKER_ACCESS_TOKEN }} git.villarheni.de
- name: Build Image
run: docker build . --tag git.villarheni.de/enub/password_gen:latest
- name: Push Image
run: docker push git.villarheni.de/enub/password_gen:latest

2
Dockerfile Normal file
View File

@ -0,0 +1,2 @@
FROM httpd:2.4
COPY . /usr/local/apache2/htdocs/