changes in drone
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Michael Weig 2026-04-18 18:02:50 +02:00
parent 4cfce386df
commit 816f56475e

View File

@ -48,12 +48,13 @@ steps:
# Repo clonen # Repo clonen
- git clone https://git.efi.th-nuernberg.de/gitea/weigmi87303/EinfuehrungInDocker_Pipeline2.git - git clone https://git.efi.th-nuernberg.de/gitea/weigmi87303/EinfuehrungInDocker_Pipeline2.git
- cd EinfuehrungInDocker_Pipeline2 - cd EinfuehrungInDocker_Pipeline2
- git remote set-url origin https://weigmi87303:$GITEA_TOKEN@git.efi.th-nuernberg.de/gitea/weigmi87303/EinfuehrungInDocker_Pipeline2.git
# Branch wechseln oder erstellen # Branch wechseln oder erstellen
- git checkout drone-artifacts || git checkout -b drone-artifacts - git checkout drone-artifacts || git checkout -b drone-artifacts
# Artifact löschen und neu hinzufügen # Artifact löschen und neu hinzufügen
- git rm image.tar - git rm -f image.tar || true
- cp $DRONE_WORKSPACE/image.tar . - cp $DRONE_WORKSPACE/image.tar .
- git add image.tar - git add image.tar
@ -61,7 +62,7 @@ steps:
- git commit -m "Add built Docker image [skip ci]" || echo "Nothing to commit" - git commit -m "Add built Docker image [skip ci]" || echo "Nothing to commit"
# Pull vor Push (um Konflikte zu vermeiden) # Pull vor Push (um Konflikte zu vermeiden)
- git pull || true - git pull origin drone-artifacts || true
# Push # Push
- git push - git push -u origin drone-artifacts