This commit is contained in:
@@ -61,18 +61,14 @@ jobs:
|
|||||||
id: split
|
id: split
|
||||||
run: |
|
run: |
|
||||||
echo "repo=${REPO##*/}" >> "$GITEA_OUTPUT"
|
echo "repo=${REPO##*/}" >> "$GITEA_OUTPUT"
|
||||||
echo "sha_short=$(git rev-parse --short "$COMMIT_SHA")" >> "$GITEA_OUTPUT"
|
|
||||||
echo "branch=$(echo ${HEAD_REF#refs/heads/})" >> "$GITEA_OUTPUT"
|
|
||||||
env:
|
env:
|
||||||
REPO: ${{ gitea.repository }}
|
REPO: ${{ gitea.repository }}
|
||||||
COMMIT_SHA: ${{ gitea.sha }}
|
|
||||||
HEAD_REF: ${{ gitea.head_ref }}
|
|
||||||
|
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v6.0.1
|
uses: actions/checkout@v6.0.1
|
||||||
with:
|
# with:
|
||||||
fetch-depth: 0
|
# fetch-depth: 0
|
||||||
ref: ${{ steps.split.outputs.branch }}
|
# ref: ${{ steps.split.outputs.branch }}
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
@@ -96,8 +92,7 @@ jobs:
|
|||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
tags: type=sha
|
tags: type=sha
|
||||||
images: |
|
images: ${{ vars.PACKAGES_REGISTRY_URL }}/${{ gitea.repository }}
|
||||||
${{ vars.PACKAGES_REGISTRY_URL }}/${{ gitea.repository }}
|
|
||||||
|
|
||||||
- name: Print metadata
|
- name: Print metadata
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM --platform=amd64 debian:13.3
|
FROM --platform=amd64 python:3.14.2-slim-trixie
|
||||||
|
|
||||||
LABEL maintainer="Luke Tainton <luke@tainton.uk>"
|
LABEL maintainer="Luke Tainton <luke@tainton.uk>"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user