Docker build
Some checks failed
/ deploy (push) Successful in 21s
/ publish (push) Failing after 39s

This commit is contained in:
Aleks Rutins 2025-06-11 18:03:39 -04:00
parent a4f9dadd8b
commit 11fc5d1a75
Signed by: asr
SSH key fingerprint: SHA256:DBype7RrB3qCdOLdkvecD2Y3THOYgYOVw6jAHVgsGRQ
2 changed files with 25 additions and 0 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/farthergate.com:latest
- run: podman build --platform linux/amd64,linux/arm64 --manifest git.farthergate.com/asr/farthergate.com:latest .
- run: podman manifest push git.farthergate.com/asr/farthergate.com:latest --creds=asr:'${{secrets.PACKAGES_SECRET}}'

15
Containerfile Normal file
View file

@ -0,0 +1,15 @@
FROM git.farthergate.com/asr/phlexite AS build
RUN mkdir -p /usr/local/bin
RUN wget -O /usr/local/bin/tailwindcss https://github.com/tailwindlabs/tailwindcss/releases/latest/download/tailwindcss-macos-arm64
RUN chmod +x /usr/local/bin/tailwindcss
ENV TAILWINDCSS_INSTALL_DIR=/usr/local/bin
ADD . /site
RUN bundle && bundle exec ruby build.rb
FROM git.farthergate.com/asr/phlexite-runtime
COPY --from=build /site/_build /var/www/html