Compare commits

...

8 Commits

Author SHA1 Message Date
moilanik 4dcbb11f20 eg
CI / Load gitea-env.conf to pipeline env (push) Successful in 12s
ci-check Build version 0.1.8 required
ci-docker-build Docker build 0.1.8 OK
ci-docker-push Docker push 0.1.8 OK
ci-docker-tag Tag 0.1.8 OK
CI / Build & Push Artifact (push) Successful in 1m27s
2026-06-15 13:51:33 +03:00
moilanik 9da134bdaf 1
CI / Load gitea-env.conf to pipeline env (push) Successful in 12s
ci-check Build version 0.1.8 required
CI / Build & Push Artifact (push) Failing after 27s
2026-06-15 13:48:39 +03:00
moilanik 752bbb332f siivous
CI / Load gitea-env.conf to pipeline env (push) Successful in 14s
ci-check Build version 0.1.8 required
CI / Build & Push Artifact (push) Failing after 1m2s
2026-06-15 13:39:36 +03:00
moilanik 45404dc002 retention temp artifakteille
CI / Load gitea-env.conf to pipeline env (push) Successful in 13s
ci-check Check version FAILED
CI / Build & Push Artifact (push) Failing after 51s
2026-06-15 13:35:14 +03:00
moilanik 5a00763d8f asgas
CI / Load gitea-env.conf to pipeline env (push) Successful in 13s
ci-check Build version 0.1.7 required
ci-docker-build Docker build 0.1.7 OK
ci-docker-push Docker push 0.1.7 OK
ci-docker-tag Tag 0.1.7 OK
CI / Build & Push Artifact (push) Successful in 1m24s
2026-06-15 13:26:08 +03:00
moilanik 4a79ce9d17 sag
CI / Load gitea-env.conf to pipeline env (push) Successful in 13s
ci-check Build version 0.1.7 required
ci-docker-build Docker build 0.1.7 OK
ci-docker-push Docker push 0.1.7 OK
CI / Build & Push Artifact (push) Failing after 1m4s
2026-06-15 13:21:49 +03:00
moilanik 9d402578bd siivous
CI / Load gitea-env.conf to pipeline env (push) Successful in 14s
ci-check Build version 0.1.7 required
ci-docker-build Docker build 0.1.7 OK
CI / Build & Push Artifact (push) Failing after 53s
2026-06-15 13:19:08 +03:00
moilanik 63ce59e604 clean
CI / Load gitea-env.conf to pipeline env (push) Successful in 13s
ci-check Build version 0.1.6 required
ci-docker-build Docker build 0.1.6 OK
ci-docker-push Docker push 0.1.6 OK
ci-docker-tag Tag 0.1.6 OK
CI / Build & Push Artifact (push) Successful in 1m21s
2026-06-15 13:13:13 +03:00
+2 -28
View File
@@ -89,6 +89,7 @@ jobs:
with: with:
name: build-context name: build-context
path: /tmp/build-ctx/build.env path: /tmp/build-ctx/build.env
retention-days: 1
- name: Set Gitea status to SUCCESS - name: Set Gitea status to SUCCESS
if: success() if: success()
@@ -180,6 +181,7 @@ jobs:
with: with:
name: docker-image name: docker-image
path: /tmp/image/artifact.tar path: /tmp/image/artifact.tar
retention-days: 0
push: push:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -326,31 +328,3 @@ jobs:
run: | run: |
source /tmp/build-ctx/build.env source /tmp/build-ctx/build.env
bash scripts/report-status.sh failure "Tag $NEXT_VERSION FAILED" ci-docker-tag bash scripts/report-status.sh failure "Tag $NEXT_VERSION FAILED" ci-docker-tag
cleanup:
runs-on: ubuntu-latest
needs: [tag-commit]
if: always()
steps:
- name: Delete build artifacts
run: |
echo "Siivotaan artifactit..."
RUN_ID="${{ github.run_id }}"
REPO="${{ github.repository }}"
SERVER="${{ gitea.server_url }}"
# List artifacts for this run
ARTIFACTS=$(curl -s \
-H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \
"${SERVER}/api/v1/repos/${REPO}/actions/runs/${RUN_ID}/artifacts")
echo "Artifacts: $(echo "$ARTIFACTS" | jq -r '.artifacts | length') kpl"
# Delete each by name
echo "$ARTIFACTS" | jq -r '.artifacts[] | .name' | while IFS= read -r name; do
echo "Deleting: $name"
curl -s -X DELETE \
-H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \
"${SERVER}/api/v1/repos/${REPO}/actions/runs/${RUN_ID}/artifacts/${name}"
echo " -> deleted $name"
done