-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: previous property is not working as expected
- Loading branch information
1 parent
7f99bc5
commit 6580363
Showing
1 changed file
with
23 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,19 +14,29 @@ jobs: | |
name: Prune Container Images | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: bots-house/[email protected] | ||
# - uses: bots-house/[email protected] | ||
# with: | ||
# owner: spectrocloud | ||
# name: librarium | ||
# token: ${{ secrets.GITHUB_TOKEN }} | ||
# untagged-keep-latest: 1 | ||
|
||
- uses: vlaurin/[email protected] | ||
with: | ||
owner: spectrocloud | ||
name: librarium | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
untagged-keep-latest: 1 | ||
organization: "spectrocloud" | ||
container: "librarium" | ||
dry-run: true | ||
keep-younger-than: 1 # days | ||
# keep-last: 2 | ||
prune-untagged: true | ||
|
||
- 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.' | ||
# - 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.' |