Skip to content

Commit 0fdc89b

Browse files
ci: CI Prune Logic Fix (#162)
* docs: README update * docs: minor misses * chore: fix prun logic * chore: set to dry run for evaulation period
1 parent 2d86482 commit 0fdc89b

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.github/workflows/image-prune.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,19 @@ jobs:
2222
account-type: personal
2323
org-name: karl-cardenas-coding
2424
keep-at-least: 1
25-
skip-tags: nightly
26-
dry-run: false
25+
skip-tags: "v*"
26+
filter-tags: "nightly"
27+
filter-include-untagged: true
28+
dry-run: true
2729
token-type: github-token
2830
token: ${{ secrets.GITHUB_TOKEN }}
2931

3032

3133
- name: Actions Ntfy
34+
if: failure()
3235
run: |
3336
curl \
34-
-u ${{ secrets.NTFY_TOKEN }} \
37+
-H 'Authorization: ${{ secrets.NTFY_TOKEN }}' \
3538
-H "go-lambda-cleanup Nightly Release" \
3639
-H "X-Tags: warning" \
3740
-H "Markdown: yes" \

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
66
[![codecov](https://codecov.io/gh/karl-cardenas-coding/go-lambda-cleanup/graph/badge.svg?token=S8SY4ZA2ZA)](https://codecov.io/gh/karl-cardenas-coding/go-lambda-cleanup)
77
[![Go Report Card](https://goreportcard.com/badge/github.com/karl-cardenas-coding/go-lambda-cleanup/v2)](https://goreportcard.com/report/github.com/karl-cardenas-coding/go-lambda-cleanup/v2)
8-
[![Nighly Build](https://github.com/karl-cardenas-coding/go-lambda-clean-up/actions/workflows/nightly.yaml/badge.svg)](https://github.com/karl-cardenas-coding/go-lambda-cleanup/actions/workflows/nightly.yaml)
8+
[![Nightly Release](https://github.com/karl-cardenas-coding/go-lambda-cleanup/actions/workflows/nightly.yaml/badge.svg)](https://github.com/karl-cardenas-coding/go-lambda-cleanup/actions/workflows/nightly.yaml)
99

1010

1111
<p align="center">
@@ -23,7 +23,7 @@
2323
go-lambda-cleanup is distributed as a single binary. [Download](https://github.com/karl-cardenas-coding/go-lambda-cleanup/releases) the binary and install go-lambda-cleanup in a directory in your system's [PATH](https://superuser.com/questions/284342/what-are-path-and-other-environment-variables-and-how-can-i-set-or-use-them). `/usr/local/bin` is the recommended path for UNIX/LINUX environments.
2424

2525
```shell
26-
VERSION=2.0.15
26+
VERSION=2.0.16
2727
wget https://github.com/karl-cardenas-coding/go-lambda-cleanup/releases/download/v$VERSION/go-lambda-cleanup-v$VERSION-linux-amd64.zip
2828
unzip go-lambda-cleanup-v$VERSION-linux-amd64.zip
2929
sudo mv glc /usr/local/bin/
@@ -34,7 +34,7 @@ sudo mv glc /usr/local/bin/
3434
go-lambda-cleanup is also available as a Docker image. Check out the [GitHub Packages](https://github.com/karl-cardenas-coding/go-lambda-cleanup/pkgs/container/go-lambda-cleanup) page for this repository to learn more about the available images.
3535

3636
```
37-
VERSION=v2.0.15
37+
VERSION=v2.0.16
3838
docker pull ghcr.io/karl-cardenas-coding/go-lambda-cleanup:$VERSION
3939
```
4040

@@ -300,7 +300,7 @@ on:
300300
# At 04:00 on every day
301301
- cron: '0 04 * * *'
302302
env:
303-
VERSION: 'v2.0.15'
303+
VERSION: 'v2.0.16'
304304

305305
jobs:
306306
build:

0 commit comments

Comments
 (0)