feat(ci): Add GitHub Actions workflow for building and publishing Docker images

- Create a new workflow for Docker image build and publish
- Configure triggers for push and pull_request on main branch
- Set up QEMU and Docker Buildx for multi-platform builds
- Implement Docker login for GitHub Container Registry
- Include Docker image metadata extraction and tagging
This commit is contained in:
Adrian Priestley
2025-07-02 14:34:38 -02:30
parent c23ecaf872
commit 32a51b2726
2 changed files with 67 additions and 2 deletions

View File

@@ -1,6 +1,5 @@
# hadolint global ignore=SC1090,SC1091
ARG ARCHITECTURE=$(uname -m)
ARG ARCHITECTURE
#Source
FROM scratch AS release
@@ -21,6 +20,7 @@ RUN if [ "$ARCHITECTURE" = "x86_64" ]; then \
#Archipelago
FROM python:3.12-slim AS archipelago
LABEL org.opencontainers.image.source https://github.com/a-priestley/Archipelago
ENV VIRTUAL_ENV=/opt/venv
ENV PYTHONUNBUFFERED=1
WORKDIR /app