Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4dcbb11f20 | |||
| 9da134bdaf | |||
| 752bbb332f | |||
| 45404dc002 | |||
| 5a00763d8f | |||
| 4a79ce9d17 | |||
| 9d402578bd | |||
| 63ce59e604 | |||
| a566998180 |
@@ -89,6 +89,7 @@ jobs:
|
||||
with:
|
||||
name: build-context
|
||||
path: /tmp/build-ctx/build.env
|
||||
retention-days: 1
|
||||
|
||||
- name: Set Gitea status to SUCCESS
|
||||
if: success()
|
||||
@@ -180,6 +181,7 @@ jobs:
|
||||
with:
|
||||
name: docker-image
|
||||
path: /tmp/image/artifact.tar
|
||||
retention-days: 0
|
||||
|
||||
push:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -326,15 +328,3 @@ jobs:
|
||||
run: |
|
||||
source /tmp/build-ctx/build.env
|
||||
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..."
|
||||
curl -s -X DELETE \
|
||||
-H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \
|
||||
"${{ gitea.server_url }}/api/v1/repos/${{ github.repository }}/actions/artifacts"
|
||||
|
||||
Reference in New Issue
Block a user