This commit is contained in:
@@ -61,18 +61,14 @@ jobs:
|
||||
id: split
|
||||
run: |
|
||||
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:
|
||||
REPO: ${{ gitea.repository }}
|
||||
COMMIT_SHA: ${{ gitea.sha }}
|
||||
HEAD_REF: ${{ gitea.head_ref }}
|
||||
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v6.0.1
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ref: ${{ steps.split.outputs.branch }}
|
||||
# with:
|
||||
# fetch-depth: 0
|
||||
# ref: ${{ steps.split.outputs.branch }}
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
@@ -96,8 +92,7 @@ jobs:
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
tags: type=sha
|
||||
images: |
|
||||
${{ vars.PACKAGES_REGISTRY_URL }}/${{ gitea.repository }}
|
||||
images: ${{ vars.PACKAGES_REGISTRY_URL }}/${{ gitea.repository }}
|
||||
|
||||
- name: Print metadata
|
||||
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>"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user