Refactor Docker publish workflow; add multi-architecture support; cache build layers

This commit is contained in:
Joakim Hellsén 2025-04-14 20:56:49 +02:00
commit 7bbbbc2309
No known key found for this signature in database
GPG key ID: D196AE66FEBE1DC9
2 changed files with 41 additions and 19 deletions

View file

@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1
# check=error=true;experimental=all
FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim@sha256:73c021c3fe7264924877039e8a449ad3bb380ec89214282301affa9b2f863c5d
FROM --platform=$BUILDPLATFORM ghcr.io/astral-sh/uv:python3.13-bookworm-slim@sha256:73c021c3fe7264924877039e8a449ad3bb380ec89214282301affa9b2f863c5d
# Change the working directory to the `app` directory
WORKDIR /app