kbs: make KV resource deletion idempotent #1126
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Staged Images | |
| on: | |
| pull_request: | |
| branches: ["main"] | |
| paths-ignore: | |
| - '**/*.md' | |
| push: | |
| branches: | |
| - main | |
| permissions: {} | |
| jobs: | |
| build_staged_images_pr: | |
| name: Build staged images (all) [PR] | |
| if: github.event_name == 'pull_request' | |
| permissions: | |
| contents: read | |
| uses: ./.github/workflows/workflow-call-build-staged-images-pr.yml | |
| with: | |
| image_group: all | |
| build_staged_images_push: | |
| name: Build staged images (all) [push] | |
| if: github.event_name == 'push' | |
| permissions: | |
| packages: write # push container images to GHCR | |
| contents: read | |
| uses: ./.github/workflows/workflow-call-build-staged-images-push.yml | |
| with: | |
| image_group: all | |
| secrets: | |
| ghcr_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_manifests: | |
| name: Publish multi-arch manifests | |
| needs: build_staged_images_push | |
| if: github.event_name == 'push' | |
| permissions: | |
| packages: write # push multi-arch manifests to GHCR | |
| contents: read | |
| uses: ./.github/workflows/workflow-call-publish-staged-manifests.yml | |
| with: | |
| tags: '["kbs","kbs-grpc-as","coco-as-grpc","coco-as-restful","rvps","kbs-client-image"]' | |
| secrets: | |
| ghcr_token: ${{ secrets.GITHUB_TOKEN }} |