Skip to content

feat: migrate full build to dockerfile #28

feat: migrate full build to dockerfile

feat: migrate full build to dockerfile #28

Workflow file for this run

name: snapshot
on:
push:
branches: [development]
jobs:
snapshot:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
with:
go-version: 1.26
- name: Build Tailwind CSS
run: |
curl -sLo tailwindcss https://github.com/tailwindlabs/tailwindcss/releases/latest/download/tailwindcss-linux-x64
chmod +x tailwindcss
./tailwindcss -i static/themes.css -o static/tailwind.css --content "templates/**/*.html" --minify
- name: Run GoReleaser (snapshot)
uses: goreleaser/goreleaser-action@ec59f474b9834571250b370d4735c50f8e2d1e29 # v7.0.0
with:
distribution: goreleaser
version: latest
args: release --snapshot --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CGO_ENABLED: 0