CI / Docker image (push) Successful in 12s
CI / Server (push) Successful in 25s
CI / CLI (push) Successful in 13s
Development image / Development image (push) Successful in 21s
CI / CLI (windows) (push) Successful in 57s
CI / CLI (linux-arm64, static) (push) Successful in 1m37s
Release / Prepare release (push) Successful in 2s
Release / Server (linux-x64) (push) Successful in 53s
Release / CLI (linux-arm64, static) (push) Successful in 1m32s
Release / Docker image (push) Successful in 2m48s
Release / Server (windows-x64) (push) Successful in 6m20s
Release / CLI (windows-x64) (push) Successful in 6m48s
Release / CLI (linux-x64) (push) Successful in 7m8s
Release / Publish release (push) Successful in 1s
Squash the tree into one commit, drop docs/architecture.html, reset the version line to 0.3.0, consolidate the changelog, enable Renovate automerge for non-major updates and add AGENTS.md.
48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
name: Development image
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths-ignore:
|
|
- "docs/**"
|
|
- "**.md"
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
REGISTRY: git.fristy.net
|
|
|
|
jobs:
|
|
development:
|
|
name: Development image
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 30
|
|
permissions:
|
|
contents: read
|
|
packages: write
|
|
if: "!startsWith(github.event.head_commit.message, 'Release ')"
|
|
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
|
|
- name: Name this build
|
|
id: build
|
|
run: echo "version=0.0.0-dev.$(git rev-parse --short HEAD)" >> "$GITHUB_OUTPUT"
|
|
|
|
- name: Log in to the registry
|
|
run: |
|
|
token="${{ secrets.REGISTRY_TOKEN }}"
|
|
[ -n "$token" ] || token="${{ secrets.GITEA_TOKEN }}"
|
|
echo "$token" | docker login "$REGISTRY" -u "${{ github.actor }}" --password-stdin
|
|
|
|
- name: Build and push
|
|
uses: docker/build-push-action@v7
|
|
with:
|
|
context: .
|
|
push: true
|
|
platforms: linux/amd64
|
|
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ github.repository }}:buildcache
|
|
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ github.repository }}:buildcache,mode=max
|
|
build-args: |
|
|
VERSION=${{ steps.build.outputs.version }}
|
|
tags: ${{ env.REGISTRY }}/${{ github.repository }}:development
|