Skip to content

ci: add artifact cleanup workflow #3885

ci: add artifact cleanup workflow

ci: add artifact cleanup workflow #3885

Workflow file for this run

name: Build on every push except main branch
on:
push:
branches-ignore:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
version:
uses: walt-id/waltid-identity/.github/workflows/version.yml@266f5c09359450c39019a6da38f2b331e7122918
gradle-build:
uses: walt-id/waltid-identity/.github/workflows/build-gradle.yml@266f5c09359450c39019a6da38f2b331e7122918
needs: version
with:
version: ${{ needs.version.outputs.release_version }}
docker-matrix:
uses: walt-id/waltid-identity/.github/workflows/load-json.yml@93361e1bf422093aa4a32115cc0ad2c706e988d1
with:
jsonpath: ".github/workflows/data/docker-matrix.json"
docker:
uses: walt-id/waltid-identity/.github/workflows/docker.yml@93361e1bf422093aa4a32115cc0ad2c706e988d1
needs: [ version, docker-matrix ]
with:
images: ${{ needs.docker-matrix.outputs.json }}
version: ${{ needs.version.outputs.release_version }}
artifact: true
ebsi-ct-v3:
uses: walt-id/waltid-identity/.github/workflows/ebsictv3.yml@93361e1bf422093aa4a32115cc0ad2c706e988d1

Check failure on line 32 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

error parsing called workflow ".github/workflows/build.yml" -> "walt-id/waltid-identity/.github/workflows/ebsictv3.yml@93361e1bf422093aa4a32115cc0ad2c706e988d1" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
needs: [ version, docker ]
secrets: inherit
with:
artifact: issuer-api
tag: "waltid/issuer-api:${{ needs.version.outputs.release_version }}"
artifact-names:
uses: walt-id/waltid-identity/.github/workflows/map.yml@feat/docker-build-share
needs: [ docker-matrix ]
with:
json: ${{ needs.docker-matrix.outputs.json }}
property: image
cleanup:
uses: walt-id/waltid-identity/.github/workflows/cleanup.yml@feat/docker-build-share
needs: [ artifact-names, ebsi-ct-v3 ]
with:
artifacts: ${{ needs.artifact-names.outputs.list }}