Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/docker-build-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
[![License](https://img.shields.io/github/license/hoverkraft-tech/ci-github-container)](http://choosealicense.com/licenses/mit/)
[![Stars](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social)](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/hoverkraft-tech/ci-github-container/blob/main/CONTRIBUTING.md)
[![codecov](https://codecov.io/gh/hoverkraft-tech/compose-action/graph/badge.svg?token=90JXB7EIMA)](https://codecov.io/gh/hoverkraft-tech/compose-action)

<!-- badges:end -->

Expand Down Expand Up @@ -50,7 +51,7 @@ on:
permissions: {}
jobs:
docker-build-images:
uses: hoverkraft-tech/ci-github-container/.github/workflows/docker-build-images.yml@676925b78f1970281b3f087bc3829eb1c6a9f4dc # 0.34.1
uses: hoverkraft-tech/ci-github-container/.github/workflows/docker-build-images.yml@6931f4886bf8af8570acbace09db06a639cbae6f # 0.36.0
permissions:
contents: read
id-token: write
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/prune-pull-requests-images-tags.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
[![License](https://img.shields.io/github/license/hoverkraft-tech/ci-github-container)](http://choosealicense.com/licenses/mit/)
[![Stars](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social)](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/hoverkraft-tech/ci-github-container/blob/main/CONTRIBUTING.md)
[![codecov](https://codecov.io/gh/hoverkraft-tech/compose-action/graph/badge.svg?token=90JXB7EIMA)](https://codecov.io/gh/hoverkraft-tech/compose-action)

<!-- badges:end -->

Expand Down Expand Up @@ -47,7 +48,7 @@ on:
permissions: {}
jobs:
prune-pull-requests-images-tags:
uses: hoverkraft-tech/ci-github-container/.github/workflows/prune-pull-requests-images-tags.yml@676925b78f1970281b3f087bc3829eb1c6a9f4dc # 0.34.1
uses: hoverkraft-tech/ci-github-container/.github/workflows/prune-pull-requests-images-tags.yml@6931f4886bf8af8570acbace09db06a639cbae6f # 0.36.0
permissions:
contents: read
packages: write
Expand Down
2 changes: 1 addition & 1 deletion actions/docker/build-image/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ permissions:
## Usage

````yaml
- uses: hoverkraft-tech/ci-github-container/actions/docker/build-image@8e63086f032651bcd1d44c8f4fcd61b902ebb99f # 0.35.0
- uses: hoverkraft-tech/ci-github-container/actions/docker/build-image@6931f4886bf8af8570acbace09db06a639cbae6f # 0.36.0
with:
# OCI registry configuration used to pull, push and cache images.
# Accepts either a registry hostname string (default format) or a JSON object.
Expand Down
7 changes: 4 additions & 3 deletions actions/docker/clean-images/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
[![License](https://img.shields.io/github/license/hoverkraft-tech/ci-github-container)](http://choosealicense.com/licenses/mit/)
[![Stars](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social)](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/hoverkraft-tech/ci-github-container/blob/main/CONTRIBUTING.md)
[![codecov](https://codecov.io/gh/hoverkraft-tech/compose-action/graph/badge.svg?token=90JXB7EIMA)](https://codecov.io/gh/hoverkraft-tech/compose-action)

<!-- badges:end -->

Expand Down Expand Up @@ -45,7 +46,7 @@ permissions:
## Usage

```yaml
- uses: hoverkraft-tech/ci-github-container/actions/docker/clean-images@260358ba1fd405c57bc669823d89c625971a3431 # 0.34.2
- uses: hoverkraft-tech/ci-github-container/actions/docker/clean-images@6931f4886bf8af8570acbace09db06a639cbae6f # 0.36.0
with:
# Comma-separated list of packages to cleanup.
# Example: "application-1,application-2"
Expand Down Expand Up @@ -109,7 +110,7 @@ jobs:
permissions:
packages: write
steps:
- uses: hoverkraft-tech/ci-github-container/actions/docker/clean-images@260358ba1fd405c57bc669823d89c625971a3431 # 0.34.2
- uses: hoverkraft-tech/ci-github-container/actions/docker/clean-images@6931f4886bf8af8570acbace09db06a639cbae6f # 0.36.0
with:
package: my-app
delete-tags: pr-${{ github.event.pull_request.number }}-*
Expand All @@ -131,7 +132,7 @@ jobs:
permissions:
packages: write
steps:
- uses: hoverkraft-tech/ci-github-container/actions/docker/clean-images@260358ba1fd405c57bc669823d89c625971a3431 # 0.34.2
- uses: hoverkraft-tech/ci-github-container/actions/docker/clean-images@6931f4886bf8af8570acbace09db06a639cbae6f # 0.36.0
with:
package: my-app
delete-untagged: true
Expand Down
3 changes: 2 additions & 1 deletion actions/docker/cleanup-builder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Register a post-job step that removes a Docker Buildx builder after later post s
## Usage

```yaml
- uses: hoverkraft-tech/ci-github-container/actions/docker/cleanup-builder@2b647ed6f11d50cb6beb6d56333e68ba2c804826 # 0.33.1
- uses: hoverkraft-tech/ci-github-container/actions/docker/cleanup-builder@6931f4886bf8af8570acbace09db06a639cbae6f # 0.36.0
with:
# Docker Buildx builder name to remove during post-job cleanup.
builder: ""
Expand Down Expand Up @@ -78,6 +78,7 @@ For more details, see the [license](http://choosealicense.com/licenses/mit/).
[![License](https://img.shields.io/github/license/hoverkraft-tech/ci-github-container)](http://choosealicense.com/licenses/mit/)
[![Stars](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social)](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/hoverkraft-tech/ci-github-container/blob/main/CONTRIBUTING.md)
[![codecov](https://codecov.io/gh/hoverkraft-tech/compose-action/graph/badge.svg?token=90JXB7EIMA)](https://codecov.io/gh/hoverkraft-tech/compose-action)

<!-- badges:end -->
<!-- secrets:start -->
Expand Down
3 changes: 2 additions & 1 deletion actions/docker/create-images-manifests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
[![License](https://img.shields.io/github/license/hoverkraft-tech/ci-github-container)](http://choosealicense.com/licenses/mit/)
[![Stars](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social)](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/hoverkraft-tech/ci-github-container/blob/main/CONTRIBUTING.md)
[![codecov](https://codecov.io/gh/hoverkraft-tech/compose-action/graph/badge.svg?token=90JXB7EIMA)](https://codecov.io/gh/hoverkraft-tech/compose-action)

<!-- badges:end -->

Expand Down Expand Up @@ -45,7 +46,7 @@ permissions:
## Usage

````yaml
- uses: hoverkraft-tech/ci-github-container/actions/docker/create-images-manifests@676925b78f1970281b3f087bc3829eb1c6a9f4dc # 0.34.1
- uses: hoverkraft-tech/ci-github-container/actions/docker/create-images-manifests@6931f4886bf8af8570acbace09db06a639cbae6f # 0.36.0
with:
# OCI registry configuration used to pull, push and cache images.
# Accepts either a registry hostname string (default format) or a JSON object.
Expand Down
3 changes: 2 additions & 1 deletion actions/docker/get-image-metadata/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
[![License](https://img.shields.io/github/license/hoverkraft-tech/ci-github-container)](http://choosealicense.com/licenses/mit/)
[![Stars](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social)](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/hoverkraft-tech/ci-github-container/blob/main/CONTRIBUTING.md)
[![codecov](https://codecov.io/gh/hoverkraft-tech/compose-action/graph/badge.svg?token=90JXB7EIMA)](https://codecov.io/gh/hoverkraft-tech/compose-action)

<!-- badges:end -->

Expand All @@ -35,7 +36,7 @@ It uses the [docker/metadata-action](https://github.com/docker/metadata-action)
## Usage

```yaml
- uses: hoverkraft-tech/ci-github-container/actions/docker/get-image-metadata@260358ba1fd405c57bc669823d89c625971a3431 # 0.34.2
- uses: hoverkraft-tech/ci-github-container/actions/docker/get-image-metadata@6931f4886bf8af8570acbace09db06a639cbae6f # 0.36.0
with:
# OCI registry where to pull and push images
# This input is required.
Expand Down
3 changes: 2 additions & 1 deletion actions/docker/get-image-name/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
[![License](https://img.shields.io/github/license/hoverkraft-tech/ci-github-container)](http://choosealicense.com/licenses/mit/)
[![Stars](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social)](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/hoverkraft-tech/ci-github-container/blob/main/CONTRIBUTING.md)
[![codecov](https://codecov.io/gh/hoverkraft-tech/compose-action/graph/badge.svg?token=90JXB7EIMA)](https://codecov.io/gh/hoverkraft-tech/compose-action)

<!-- badges:end -->

Expand All @@ -33,7 +34,7 @@ Action to forge the name of a given image including registry, repository and giv
## Usage

```yaml
- uses: hoverkraft-tech/ci-github-container/actions/docker/get-image-name@2b647ed6f11d50cb6beb6d56333e68ba2c804826 # 0.33.1
- uses: hoverkraft-tech/ci-github-container/actions/docker/get-image-name@6931f4886bf8af8570acbace09db06a639cbae6f # 0.36.0
with:
# OCI registry to prefix the image full name
oci-registry: ""
Expand Down
3 changes: 2 additions & 1 deletion actions/docker/prune-pull-requests-image-tags/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
[![License](https://img.shields.io/github/license/hoverkraft-tech/ci-github-container)](http://choosealicense.com/licenses/mit/)
[![Stars](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social)](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/hoverkraft-tech/ci-github-container/blob/main/CONTRIBUTING.md)
[![codecov](https://codecov.io/gh/hoverkraft-tech/compose-action/graph/badge.svg?token=90JXB7EIMA)](https://codecov.io/gh/hoverkraft-tech/compose-action)

<!-- badges:end -->

Expand Down Expand Up @@ -44,7 +45,7 @@ permissions:
## Usage

```yaml
- uses: hoverkraft-tech/ci-github-container/actions/docker/prune-pull-requests-image-tags@676925b78f1970281b3f087bc3829eb1c6a9f4dc # 0.34.1
- uses: hoverkraft-tech/ci-github-container/actions/docker/prune-pull-requests-image-tags@6931f4886bf8af8570acbace09db06a639cbae6f # 0.36.0
with:
# Image name
image: ""
Expand Down
2 changes: 1 addition & 1 deletion actions/docker/setup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Shared action to configure Docker tooling and OCI registry authentication.
## Usage

````yaml
- uses: hoverkraft-tech/ci-github-container/actions/docker/setup@8e63086f032651bcd1d44c8f4fcd61b902ebb99f # 0.35.0
- uses: hoverkraft-tech/ci-github-container/actions/docker/setup@6931f4886bf8af8570acbace09db06a639cbae6f # 0.36.0
with:
# OCI registry configuration used to pull, push and cache images.
# Accepts either a registry hostname string (default format) or a JSON object.
Expand Down
3 changes: 2 additions & 1 deletion actions/docker/sign-images/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
[![License](https://img.shields.io/github/license/hoverkraft-tech/ci-github-container)](http://choosealicense.com/licenses/mit/)
[![Stars](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social)](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/hoverkraft-tech/ci-github-container/blob/main/CONTRIBUTING.md)
[![codecov](https://codecov.io/gh/hoverkraft-tech/compose-action/graph/badge.svg?token=90JXB7EIMA)](https://codecov.io/gh/hoverkraft-tech/compose-action)

<!-- badges:end -->

Expand Down Expand Up @@ -45,7 +46,7 @@ permissions:
## Usage

````yaml
- uses: hoverkraft-tech/ci-github-container/actions/docker/sign-images@2b647ed6f11d50cb6beb6d56333e68ba2c804826 # 0.33.1
- uses: hoverkraft-tech/ci-github-container/actions/docker/sign-images@6931f4886bf8af8570acbace09db06a639cbae6f # 0.36.0
with:
# Images to sign.
# Can be a single image or a list of images separated by commas or newlines or spaces.
Expand Down
10 changes: 9 additions & 1 deletion actions/helm/generate-docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
[![License](https://img.shields.io/github/license/hoverkraft-tech/ci-github-container)](http://choosealicense.com/licenses/mit/)
[![Stars](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social)](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/hoverkraft-tech/ci-github-container/blob/main/CONTRIBUTING.md)
[![codecov](https://codecov.io/gh/hoverkraft-tech/compose-action/graph/badge.svg?token=90JXB7EIMA)](https://codecov.io/gh/hoverkraft-tech/compose-action)

<!-- badges:end -->

Expand All @@ -35,7 +36,7 @@ Mainly using [losisin/helm-docs-github-action](https://github.com/losisin/helm-d
## Usage

```yaml
- uses: hoverkraft-tech/ci-github-container/actions/helm/generate-docs@260358ba1fd405c57bc669823d89c625971a3431 # 0.34.2
- uses: hoverkraft-tech/ci-github-container/actions/helm/generate-docs@6931f4886bf8af8570acbace09db06a639cbae6f # 0.36.0
with:
# Working directory
# Default: `${{ github.workspace }}`
Expand Down Expand Up @@ -98,6 +99,13 @@ Mainly using [losisin/helm-docs-github-action](https://github.com/losisin/helm-d
<!-- secrets:end -->

<!-- outputs:start -->

## Outputs

| **Output** | **Description** |
| ---------------- | ----------------------------------------------------------------------------------------------------------------- |
| **`merged-sha`** | The SHA of the commit that was merged to the base branch. Will be empty if no pull request was created or merged. |

<!-- outputs:end -->

<!-- examples:start -->
Expand Down
3 changes: 2 additions & 1 deletion actions/helm/parse-chart-uri/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
[![License](https://img.shields.io/github/license/hoverkraft-tech/ci-github-container)](http://choosealicense.com/licenses/mit/)
[![Stars](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social)](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/hoverkraft-tech/ci-github-container/blob/main/CONTRIBUTING.md)
[![codecov](https://codecov.io/gh/hoverkraft-tech/compose-action/graph/badge.svg?token=90JXB7EIMA)](https://codecov.io/gh/hoverkraft-tech/compose-action)

<!-- badges:end -->

Expand All @@ -40,7 +41,7 @@ The output will be:
## Usage

```yaml
- uses: hoverkraft-tech/ci-github-container/actions/helm/parse-chart-uri@2b647ed6f11d50cb6beb6d56333e68ba2c804826 # 0.33.1
- uses: hoverkraft-tech/ci-github-container/actions/helm/parse-chart-uri@6931f4886bf8af8570acbace09db06a639cbae6f # 0.36.0
with:
# Chart URI to parse.
# This input is required.
Expand Down
3 changes: 2 additions & 1 deletion actions/helm/prepare-chart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
[![License](https://img.shields.io/github/license/hoverkraft-tech/ci-github-container)](http://choosealicense.com/licenses/mit/)
[![Stars](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social)](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/hoverkraft-tech/ci-github-container/blob/main/CONTRIBUTING.md)
[![codecov](https://codecov.io/gh/hoverkraft-tech/compose-action/graph/badge.svg?token=90JXB7EIMA)](https://codecov.io/gh/hoverkraft-tech/compose-action)

<!-- badges:end -->

Expand All @@ -34,7 +35,7 @@ for all charts found under a path.
## Usage

```yaml
- uses: hoverkraft-tech/ci-github-container/actions/helm/prepare-chart@695db98d9afaa0ebd2ef427808c0c929ac347885 # 0.34.0
- uses: hoverkraft-tech/ci-github-container/actions/helm/prepare-chart@6931f4886bf8af8570acbace09db06a639cbae6f # 0.36.0
with:
# Path containing the chart(s) to prepare
# This input is required.
Expand Down
9 changes: 8 additions & 1 deletion actions/helm/release-chart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
[![License](https://img.shields.io/github/license/hoverkraft-tech/ci-github-container)](http://choosealicense.com/licenses/mit/)
[![Stars](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social)](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/hoverkraft-tech/ci-github-container/blob/main/CONTRIBUTING.md)
[![codecov](https://codecov.io/gh/hoverkraft-tech/compose-action/graph/badge.svg?token=90JXB7EIMA)](https://codecov.io/gh/hoverkraft-tech/compose-action)

<!-- badges:end -->

Expand All @@ -42,7 +43,7 @@ This action requires the following permissions on the repository:
## Usage

````yaml
- uses: hoverkraft-tech/ci-github-container/actions/helm/release-chart@676925b78f1970281b3f087bc3829eb1c6a9f4dc # 0.34.1
- uses: hoverkraft-tech/ci-github-container/actions/helm/release-chart@6931f4886bf8af8570acbace09db06a639cbae6f # 0.36.0
with:
# OCI registry where to push chart.
# See https://github.com/appany/helm-oci-chart-releaser#usage.
Expand Down Expand Up @@ -102,6 +103,10 @@ This action requires the following permissions on the repository:
#
# Default: `.version,.appVersion`
update-tag-paths: .version,.appVersion

# The git ref to checkout before releasing the chart.
# Can be a branch, tag or commit SHA.
ref: ""
````

<!-- usage:end -->
Expand Down Expand Up @@ -132,6 +137,8 @@ This action requires the following permissions on the repository:
| **`tag`** | The release tag to set to chart | **true** | - |
| **`update-tag-paths`** | List of YAML paths to update with the tag. | **false** | `.version,.appVersion` |
| | Comma separated list of paths. | | |
| **`ref`** | The git ref to checkout before releasing the chart. | **false** | - |
| | Can be a branch, tag or commit SHA. | | |

<!-- inputs:end -->

Expand Down
3 changes: 2 additions & 1 deletion actions/helm/test-chart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
[![License](https://img.shields.io/github/license/hoverkraft-tech/ci-github-container)](http://choosealicense.com/licenses/mit/)
[![Stars](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social)](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-container?style=social)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/hoverkraft-tech/ci-github-container/blob/main/CONTRIBUTING.md)
[![codecov](https://codecov.io/gh/hoverkraft-tech/compose-action/graph/badge.svg?token=90JXB7EIMA)](https://codecov.io/gh/hoverkraft-tech/compose-action)

<!-- badges:end -->

Expand All @@ -34,7 +35,7 @@ Mainly using [helm/chart-testing-action](https://github.com/helm/chart-testing-a
## Usage

````yaml
- uses: hoverkraft-tech/ci-github-container/actions/helm/test-chart@676925b78f1970281b3f087bc3829eb1c6a9f4dc # 0.34.1
- uses: hoverkraft-tech/ci-github-container/actions/helm/test-chart@6931f4886bf8af8570acbace09db06a639cbae6f # 0.36.0
with:
# Working directory
# Default: `${{ github.workspace }}`
Expand Down
Loading