Get some code written
Some checks failed
/ publish (push) Failing after 8s

This commit is contained in:
Aleks Rutins 2025-06-11 17:59:32 -04:00
parent f0bba8af06
commit 0c7bc5abe0
Signed by: asr
SSH key fingerprint: SHA256:DBype7RrB3qCdOLdkvecD2Y3THOYgYOVw6jAHVgsGRQ
4 changed files with 32 additions and 1 deletions

View file

@ -0,0 +1,10 @@
on: [push]
jobs:
publish:
runs-on: selfhosted
steps:
- uses: actions/checkout@v4
- run: podman manifest create -a git.farthergate.com/asr/phlexite-runtime:latest
- run: podman build --platform linux/amd64,linux/arm64 --manifest git.farthergate.com/asr/phlexite-runtime:latest .
- run: podman manifest push git.farthergate.com/asr/phlexite-runtime:latest --creds=asr:'${{secrets.PACKAGES_SECRET}}'

4
Caddyfile Normal file
View file

@ -0,0 +1,4 @@
:3000 {
root * /var/www/html
file_server
}

4
Containerfile Normal file
View file

@ -0,0 +1,4 @@
FROM caddy:alpine
ADD Caddyfile /etc/caddy/Caddyfile
CMD ["caddy", "run", "--config", "/etc/caddy/Caddyfile"]

View file

@ -1,3 +1,16 @@
# phlexite-docker
Run your Phlexite sites on Caddy in containers.
Usage:
```Dockerfile
FROM git.farthergate.com/asr/phlexite AS build
ADD . /site
RUN bundle && bundle exec ruby build.rb
FROM git.farthergate.com/asr/phlexite-runtime
COPY --from=build /site/_build /var/www/html
```