forked from projects/file-explorer
23 lines
527 B
YAML
23 lines
527 B
YAML
|
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
|