.gitea/workflows/build.yml aktualisiert
This commit is contained in:
@@ -45,6 +45,13 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v7.0.1
|
||||
|
||||
# Generiert die auth.json dynamisch im configs/ Ordner aus Template & Secret
|
||||
- name: Prepare Registry Auth File
|
||||
env:
|
||||
AUTH_BASE64: ${{ secrets.READONLY_AUTH_BASE64 }}
|
||||
run: |
|
||||
sed "s|READONLY_TOKEN_PLACEHOLDER|${AUTH_BASE64}|g" configs/auth.json.template > configs/auth.json
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v4.3.0
|
||||
|
||||
@@ -126,5 +133,7 @@ jobs:
|
||||
- name: Post-Build Cleanup
|
||||
if: always()
|
||||
run: |
|
||||
echo "Lösche erzeugte Auth-Datei..."
|
||||
rm -f configs/auth.json
|
||||
echo "Leere Buildx-internen Cache..."
|
||||
docker buildx prune -a -f || true
|
||||
Reference in New Issue
Block a user