dockerize project

Reviewed-on: sites/file-explorer#3
This commit is contained in:
2024-12-04 17:37:10 +00:00
parent 0b8348274d
commit 1ec2ed1d00
7 changed files with 173 additions and 3 deletions

View File

@ -0,0 +1,23 @@
name: build
on:
pull_request:
types:
- closed
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v1
with:
registry: git.simonis.lol
username: ${{ vars.DOCKER_USER }}
password: ${{ vars.DOCKER_PW }}
- name: build
run: docker build -t git.simonis.lol/sites/file-explorer:latest .
- name: push
run: docker push git.simonis.lol/sites/file-explorer:latest