23 lines
527 B
YAML
Raw Normal View History

2024-12-04 14:51:27 +01:00
name: build
2024-12-04 18:34:48 +01:00
on:
pull_request:
types:
- closed
branches:
- main
2024-12-04 14:51:27 +01:00
jobs:
2024-12-04 14:57:07 +01:00
build:
2024-12-04 14:52:36 +01:00
runs-on: ubuntu-latest
2024-12-04 14:51:27 +01:00
steps:
2024-12-04 15:32:53 +01:00
- uses: actions/checkout@v4
- uses: docker/login-action@v1
2024-12-04 15:27:26 +01:00
with:
registry: git.simonis.lol
2024-12-04 15:33:48 +01:00
username: ${{ vars.DOCKER_USER }}
password: ${{ vars.DOCKER_PW }}
2024-12-04 15:21:35 +01:00
2024-12-04 15:27:26 +01:00
- name: build
run: docker build -t git.simonis.lol/sites/file-explorer:latest .
2024-12-04 15:21:35 +01:00
2024-12-04 15:27:26 +01:00
- name: push
run: docker push git.simonis.lol/sites/file-explorer:latest