Compare commits
1 Commits
main
...
renovate/s
Author | SHA1 | Date | |
---|---|---|---|
bb7cb7b421 |
@@ -1,45 +0,0 @@
|
|||||||
name: Build Docker images for static folder
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
push:
|
|
||||||
branches: [ "main" ]
|
|
||||||
tags: [ "*" ]
|
|
||||||
|
|
||||||
defaults:
|
|
||||||
run:
|
|
||||||
working-directory: static
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
acls:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
-
|
|
||||||
name: Docker meta
|
|
||||||
id: meta
|
|
||||||
uses: docker/metadata-action@v5
|
|
||||||
with:
|
|
||||||
images: git.prettysunflower.moe/prettysunflower/kakigoori-static
|
|
||||||
-
|
|
||||||
name: Login to Gitea Container Hub
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
|
||||||
registry: git.prettysunflower.moe
|
|
||||||
username: ${{ vars.HUB_USERNAME }}
|
|
||||||
password: ${{ secrets.HUB_TOKEN }}
|
|
||||||
-
|
|
||||||
name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v3
|
|
||||||
-
|
|
||||||
name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v3
|
|
||||||
-
|
|
||||||
name: Build and push
|
|
||||||
uses: docker/build-push-action@v6
|
|
||||||
with:
|
|
||||||
context: "{{defaultContext}}:static"
|
|
||||||
push: ${{ gitea.event_name != 'pull_request' }}
|
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
|
||||||
platforms: linux/amd64,linux/arm64
|
|
@@ -22,7 +22,7 @@ dependencies = [
|
|||||||
"platformdirs==4.3.8",
|
"platformdirs==4.3.8",
|
||||||
"python-dateutil==2.9.0.post0",
|
"python-dateutil==2.9.0.post0",
|
||||||
"requests==2.32.4",
|
"requests==2.32.4",
|
||||||
"s3transfer==0.13.0",
|
"s3transfer==0.13.1",
|
||||||
"six==1.17.0",
|
"six==1.17.0",
|
||||||
"sqlparse==0.5.3",
|
"sqlparse==0.5.3",
|
||||||
"tzdata>=2025.2",
|
"tzdata>=2025.2",
|
||||||
|
@@ -1,4 +0,0 @@
|
|||||||
:8002 {
|
|
||||||
root * /srv/
|
|
||||||
file_server
|
|
||||||
}
|
|
@@ -1,4 +0,0 @@
|
|||||||
FROM caddy:latest
|
|
||||||
|
|
||||||
COPY Caddyfile /etc/caddy/Caddyfile
|
|
||||||
COPY . /srv/
|
|
Reference in New Issue
Block a user