Compare commits
6 Commits
main
...
987e49cdec
Author | SHA1 | Date | |
---|---|---|---|
987e49cdec | |||
54bcfd3775 | |||
b189753c1e | |||
5fcc7c78bb | |||
c1e1ab081f | |||
4826805f57 |
@ -9,12 +9,15 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: remote
|
runs-on: remote
|
||||||
steps:
|
steps:
|
||||||
|
- uses: https://git.simonis.lol/actions/checkout@v4
|
||||||
|
- uses: https://git.simonis.lol/actions/login@v1
|
||||||
|
with:
|
||||||
|
registry: git.simonis.lol
|
||||||
|
username: ${{ vars.DOCKER_USER }}
|
||||||
|
password: ${{ vars.DOCKER_PW }}
|
||||||
|
|
||||||
- name: Checkout
|
- name: build
|
||||||
uses: https://git.simonis.lol/actions/checkout@v2
|
run: docker build -t git.simonis.lol/sites/file-explorer:latest .
|
||||||
|
|
||||||
- name: Build
|
- name: push
|
||||||
run: docker buildx build -t git.simonis.lol/projects/file-explorer:latest .
|
run: docker push git.simonis.lol/sites/file-explorer:latest
|
||||||
|
|
||||||
- name: Push
|
|
||||||
run: docker push git.simonis.lol/projects/file-explorer:latest
|
|
||||||
|
@ -14,7 +14,7 @@ class ServeFileController extends AbstractController
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
#[Route("/serve/{filePath}", name: "serve_file")]
|
#[Route("/serve-file/{filePath}", name: "serve_file")]
|
||||||
public function __invoke(string $filePath): BinaryFileResponse
|
public function __invoke(string $filePath): BinaryFileResponse
|
||||||
{
|
{
|
||||||
$file = $this->fileSystemService->getFile($filePath);
|
$file = $this->fileSystemService->getFile($filePath);
|
||||||
|
Reference in New Issue
Block a user