Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 63ce59e604 | |||
| a566998180 |
@@ -259,6 +259,11 @@ jobs:
|
||||
source /tmp/build-ctx/build.env
|
||||
bash scripts/report-status.sh failure "Docker push $NEXT_VERSION FAILED" ci-docker-push
|
||||
|
||||
- name: Clean up Docker image artifact
|
||||
if: steps.gatekeeper.outputs.skip == 'false'
|
||||
run: |
|
||||
rm -f /tmp/image/artifact.tar
|
||||
|
||||
tag-commit:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [check, push]
|
||||
@@ -327,14 +332,3 @@ jobs:
|
||||
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