Remove short SHA retrieval from Docker build workflow

This commit is contained in:
JuLi0n21
2026-03-01 21:30:38 +01:00
committed by GitHub
parent 07483729c8
commit 245508f81a

View File

@@ -15,10 +15,6 @@ jobs:
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
- name: Get Short SHA
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Login to Private Registry - name: Login to Private Registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
@@ -33,4 +29,4 @@ jobs:
push: true push: true
tags: | tags: |
docker.illegalesachen.download/repository/astro-homepage:latest docker.illegalesachen.download/repository/astro-homepage:latest
docker.illegalesachen.download/repository/astro-homepage:${{ steps.vars.outputs.sha_short }} docker.illegalesachen.download/repository/astro-homepage:${{ github.sha }}