fix(ci): remove redundant DEV_IMAGE variable and use REGISTRY directly for image tags

This commit is contained in:
2026-07-31 14:07:07 +02:00
parent 06fc829ff1
commit 658892a639
+2 -3
View File
@@ -8,7 +8,6 @@ on:
env:
REGISTRY: git.arthurerlich.de
DEV_IMAGE: git.arthurerlich.de/${{ gitea.repository }}:ci-${{ gitea.sha }}
jobs:
build-dev:
@@ -34,7 +33,7 @@ jobs:
file: Dockerfile.dev
target: dev
push: true
tags: ${{ env.DEV_IMAGE }}
tags: ${{ env.REGISTRY }}/${{ gitea.repository }}:ci-${{ gitea.sha }}
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ gitea.repository }}:buildcache-dev
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ gitea.repository }}:buildcache-dev,mode=max
@@ -60,7 +59,7 @@ jobs:
needs: build-dev
runs-on: ubuntu-latest
container:
image: ${{ env.DEV_IMAGE }}
image: ${{ env.REGISTRY }}/${{ gitea.repository }}:ci-${{ gitea.sha }}
credentials:
username: ${{ gitea.actor }}
password: ${{ secrets.REGISTRY_TOKEN }}