Clean up build workflow
Build Runner Image / build (push) Failing after 47s

This commit is contained in:
2026-05-20 21:56:37 +02:00
parent 436e921be7
commit d7aa22eec8
+4 -5
View File
@@ -13,18 +13,17 @@ jobs:
- name: Set registry host
run: |
echo "REGISTRY_HOST=$(echo ${{ gitea.server_url }} | sed 's|https\?://||')" >> "$GITEA_ENV" - name: Debug
echo "REGISTRY_HOST=$(echo ${{ gitea.server_url }} | sed 's|https\?://||')" >> "$GITEA_ENV"
- name: Checkout
run: |
git clone ${{ gitea.server_url }}/${{ gitea.repository }} .
ls -la
- name: Build image
run: |
buildah bud -t ${{ env.REGISTRY_HOST }}/${{ gitea.repository }}:latest . 2>&1
buildah bud -t ${{ env.REGISTRY_HOST }}/${{ gitea.repository }}:latest .
- name: Push image
run: |
buildah login -u ${{ gitea.actor }} -p ${{ secrets.GITEA_TOKEN }} ${{ env.REGISTRY_HOST }} 2>&1
buildah push ${{ env.REGISTRY_HOST }}/${{ gitea.repository }}:latest 2>&1
buildah login -u ${{ gitea.actor }} -p ${{ secrets.GITEA_TOKEN }} ${{ env.REGISTRY_HOST }}
buildah push ${{ env.REGISTRY_HOST }}/${{ gitea.repository }}:latest