Skip to content

Commit

Permalink
Merge pull request #41 from kubewarden/fix-artifacthub
Browse files Browse the repository at this point in the history
feat: Publish to artifacthub via artifacthub branch
  • Loading branch information
viccuad authored Mar 24, 2023
2 parents e1ca3a9 + 2ec9830 commit aecb147
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 12 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

test:
name: run tests and linters
uses: kubewarden/github-actions/.github/workflows/reusable-test-policy-rust.yml@v3.0.4
uses: kubewarden/github-actions/.github/workflows/reusable-test-policy-rust.yml@v3.1.0

release:
needs: test
Expand All @@ -22,7 +22,6 @@ jobs:
# Required by cosign keyless signing
id-token: write

uses: kubewarden/github-actions/.github/workflows/reusable-release-policy-rust.yml@v3.0.4
uses: kubewarden/github-actions/.github/workflows/reusable-release-policy-rust.yml@v3.1.0
with:
input-wasm: trusted_repos_policy
oci-target: ghcr.io/${{ github.repository_owner }}/policies/trusted-repos
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ name: Continuous integration
jobs:
test:
name: run tests and linters
uses: kubewarden/github-actions/.github/workflows/reusable-test-policy-rust.yml@v3.0.4
uses: kubewarden/github-actions/.github/workflows/reusable-test-policy-rust.yml@v3.1.0
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "trusted-repos-policy"
version = "0.1.10"
version = "0.1.11"
authors = ["Rafael Fernández López <[email protected]>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ lint:

.PHONY: e2e-tests
e2e-tests: annotated-policy.wasm
bats e2e.bats
@echo "Dummy target to allow using the reusable github actions to build, test and release policies"

.PHONY: test
test: fmt lint
Expand Down
10 changes: 5 additions & 5 deletions artifacthub-pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,29 @@
#
# This config can be saved to its default location with:
# kwctl scaffold artifacthub > artifacthub-pkg.yml
version: 0.1.10
version: 0.1.11
name: trusted-repos
displayName: Trusted Repos
createdAt: 2023-03-21T10:35:02.206079558Z
createdAt: 2023-03-24T16:05:46.37907134Z
description: Kubewarden policy that restricts what registries, tags and images can pods on your cluster refer to
license: Apache-2.0
homeURL: https://github.com/kubewarden/trusted-repos-policy
containersImages:
- name: policy
image: ghcr.io/kubewarden/policies/trusted-repos:v0.1.10
image: ghcr.io/kubewarden/policies/trusted-repos:v0.1.11
keywords:
- image
- registry
- tag
links:
- name: policy
url: https://github.com/kubewarden/trusted-repos-policy/releases/download/v0.1.10/policy.wasm
url: https://github.com/kubewarden/trusted-repos-policy/releases/download/v0.1.11/policy.wasm
- name: source
url: https://github.com/kubewarden/trusted-repos-policy
install: |
The policy can be obtained using [`kwctl`](https://github.com/kubewarden/kwctl):
```console
kwctl pull ghcr.io/kubewarden/policies/trusted-repos:v0.1.10
kwctl pull ghcr.io/kubewarden/policies/trusted-repos:v0.1.11
```
maintainers:
- name: Kubewarden developers
Expand Down

0 comments on commit aecb147

Please sign in to comment.