https://github.com/frantjc/actions
A collection of GitHub Actions amassed over the years which aren't big enough to merit their own repository but aren't small enough to rewrite for each project that needs it.
https://github.com/frantjc/actions
github-actions
Last synced: 25 days ago
JSON representation
A collection of GitHub Actions amassed over the years which aren't big enough to merit their own repository but aren't small enough to rewrite for each project that needs it.
- Host: GitHub
- URL: https://github.com/frantjc/actions
- Owner: frantjc
- Created: 2024-10-04T03:03:21.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-02-08T21:46:17.000Z (3 months ago)
- Last Synced: 2025-04-10T00:48:37.250Z (25 days ago)
- Topics: github-actions
- Language: TypeScript
- Homepage:
- Size: 3.17 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# actions
A collection of GitHub Actions amassed over the years which aren't big enough to merit their own repository but aren't small enough to rewrite for each project that needs it.
# use
## ghcr-delete-images
Delete container images from the ghcr.io registry using GitHub's API. If this is the last version of this package, deletes the package.
```yml
- uses: frantjc/actions/ghcr-delete-images@v0
with:
# GitHub token to authenticate with.
# Must have read:packages and delete:packages scopes.
# Default ${{ github.token }}.
token: ${{ secrets.GH_PAT }}
# Whitespace-delimited image tags to delete from ghcr.io. Required.
tags: |
ghcr.io/frantjc/actions:1.0.0
ghcr.io/frantjc/actions@sha256:4594271250150c1a322ed749abfd218e1a8c6eb1ade90872e325a664412e2037
```## helm-package-push
Package and push a Helm Chart to an OCI, ChartMuseum or JFrog-Artifactory-compatible http(s) repository.
```yml
# This action relies on `helm` being installed to work.
# The simplest way to do this is via https://github.com/azure/setup-helm.
# - uses: azure/setup-helm@v4
- uses: frantjc/actions/helm-package-push@v0
with:
# Path to chart to package and push. Required.
chart-path: .
# Whether or not to push the packaged chart. Default true.
push: true
# Repository to authenticate and push the chart to.
# Receives HTTP PUT with the Helm Chart .tgz to the path
# /$CHART_NAME-$CHART_VERSION.tz with Basic Authentication
# if username and password are specified. Required if push is true.
# More examples:
# - cm://chartmuseum.mycorp.net/
# - oci://ghcr.io/frantjc/actions
repository: https://jfrog.mycorp.net/artifactory/helm-local
# Whether or not to update dependencies when packaging. Default true.
dependency-update: true
# Set the appVersion on the chart to this version.
app-version: 1.0.0
# Set the version on the chart to this SemVer.
version: v1.0.0
# Repository username.
username: ${{ secrets.HELM_REPO_USERNAME }}
# Repository password or identity token.
password: ${{ secrets.HELM_REPO_PASSWORD }}
# Allow connections to TLS repository without certs. Default false.
insecure: false
```