Skip to content

Commit

Permalink
fix: fixes OCI URL's & adds permissions for build to use Github OIDC (#…
Browse files Browse the repository at this point in the history
…39)

* Updates OCI Location for Chart & Adds permissions for build

Signed-off-by: ChrisJBurns <[email protected]>
  • Loading branch information
ChrisJBurns authored Jan 27, 2023
1 parent 8ff904d commit 1ca87b4
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,19 @@ on:
push:
branches:
- master
paths:
- "charts/**"

permissions:
contents: write
packages: write

jobs:
release:
runs-on: ubuntu-latest

permissions:
contents: write
packages: write
id-token: write

steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Charts are also available in OCI format. The list of available charts can be fou
Install one of the available charts:

```shell
helm upgrade -i <release_name> oci://ghcr.io/pact-foundation/charts/pact-broker --version=<version>
helm upgrade -i <release_name> oci://ghcr.io/pact-foundation/pact-broker-chart/pact-broker --version=<version>
```

## Contributing
Expand Down
2 changes: 1 addition & 1 deletion charts/pact-broker/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: pact-broker
description: The Pact Broker is an application for sharing for Pact contracts and verification results.
type: application
version: 0.5.1
version: 0.5.2
appVersion: 2.105.0.1
dependencies:
- condition: postgresql.enabled
Expand Down
4 changes: 2 additions & 2 deletions charts/pact-broker/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# pact-broker

![Version: 0.5.1](https://img.shields.io/badge/Version-1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.105.0.1](https://img.shields.io/badge/AppVersion-2.105.0.1-informational?style=flat-square)
![Version: 0.5.2](https://img.shields.io/badge/Version-0.5.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.105.0.1](https://img.shields.io/badge/AppVersion-2.105.0.1-informational?style=flat-square)

The Pact Broker is an application for sharing for Pact contracts and verification results.

Expand Down Expand Up @@ -40,7 +40,7 @@ Charts are also available in OCI format. The list of available charts can be fou
Install one of the available charts:

```shell
helm upgrade -i <release_name> oci://ghcr.io/pact-foundation/charts/pact-broker --version=<version>
helm upgrade -i <release_name> oci://ghcr.io/pact-foundation/pact-broker-chart/pact-broker --version=<version>
```

## Source Code
Expand Down
2 changes: 1 addition & 1 deletion charts/pact-broker/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Charts are also available in OCI format. The list of available charts can be fou
Install one of the available charts:

```shell
helm upgrade -i <release_name> oci://ghcr.io/pact-foundation/charts/pact-broker --version=<version>
helm upgrade -i <release_name> oci://ghcr.io/pact-foundation/pact-broker-chart/pact-broker --version=<version>
```

{{ template "chart.homepageLine" . }}
Expand Down

0 comments on commit 1ca87b4

Please sign in to comment.