Skip to content

feat: load htmx async to fasten FCP #30

feat: load htmx async to fasten FCP

feat: load htmx async to fasten FCP #30

Workflow file for this run

name: Build Docker Image
on:
push:
branches:
- main
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Nix
uses: cachix/install-nix-action@v27
- name: Build Docker image
run: nix build .#docker
- name: Log in to GitHub Container Registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Load Docker image
run: |
docker load < result
docker tag drawbu.dev ghcr.io/${{ github.repository }}:latest
- name: Push Docker image to GitHub Container Registry
run: docker push ghcr.io/${{ github.repository }}:latest