Skip to content

Commit

Permalink
Merge branch 'master' into docusaurus-v3
Browse files Browse the repository at this point in the history
  • Loading branch information
lennessyy authored Dec 20, 2023
2 parents 4a881ab + d0ba728 commit a14c3ea
Show file tree
Hide file tree
Showing 13 changed files with 1,743 additions and 1,021 deletions.
38 changes: 23 additions & 15 deletions .github/workflows/container-prune.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,32 @@ on:
workflow_dispatch:



jobs:
prune:
name: Prune Container Images
runs-on: ubuntu-latest
steps:
- uses: bots-house/ghcr-delete-image-action@v1.1.0
with:
owner: spectrocloud
name: librarium
token: ${{ secrets.GITHUB_TOKEN }}
untagged-older-than: 1d

- name: Slack Notification
if: ${{ failure() }}
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_USERNAME: "spectromate"
SLACK_ICON_EMOJI: ":robot_panic:"
SLACK_COLOR: ${{ job.status }}
SLACK_MESSAGE: 'The nightly docs container prune workflow failed. Review the GitHub Actions logs for more details.'
- uses: snok/container-retention-policy@v2
with:
image-names: librarium
cut-off: 1 day ago UTC
timestamp-to-use: created_at
account-type: personal
org-name: spectrocloud
keep-at-least: 1
skip-tags: nightly
dry-run: false
token-type: github-token
token: ${{ secrets.GITHUB_TOKEN }}

- name: Slack Notification
if: ${{ failure() }}
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_USERNAME: "spectromate"
SLACK_ICON_EMOJI: ":robot_panic:"
SLACK_COLOR: ${{ job.status }}
SLACK_MESSAGE: 'The nightly docs container prune workflow failed. Review the GitHub Actions logs for more details.'
3 changes: 2 additions & 1 deletion .gitleaksignore
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,5 @@ d916ea8726a0c226beb82fef8567877f5f5ef3f0:docs/docs-content/enterprise-version/re
eecf731008b962d7f5aefbeb6cfee251147b92b9:docs/docs-content/enterprise-version-bkup/reverse-proxy.md:private-key:145
eecf731008b962d7f5aefbeb6cfee251147b92b9:docs/docs-content/enterprise-version/system-management/reverse-proxy.md:private-key:150
07088abdfe1d1bb713baf745b76f19f8842a2392:docs/docs-content/integrations/kubernetes.md:generic-api-key:634
fd60bdc4fdfe8b66925db07865cb530eab4978df:docs/docs-content/integrations/kubernetes.md:generic-api-key:634
fd60bdc4fdfe8b66925db07865cb530eab4978df:docs/docs-content/integrations/kubernetes.md:generic-api-key:634
51708449cbb201c91a91d3cf7ff7cbbe2e4a6c40:docs/docs-content/integrations/portworx_operator.md:private-key:186
Loading

0 comments on commit a14c3ea

Please sign in to comment.