Constantin Simonis 334efa1ecd
All checks were successful
build / build (push) Successful in 3m54s
dockerize project
Reviewed-on: sites/file-explorer#2
2024-12-04 17:33:42 +00:00

23 lines
537 B
YAML

name: build
on: push
# 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