Skip to content

Commit

Permalink
A first version
Browse files Browse the repository at this point in the history
  • Loading branch information
YvesZelros authored and yyvess committed Jan 25, 2024
1 parent 8614a5d commit 72fd82a
Show file tree
Hide file tree
Showing 72 changed files with 11,066 additions and 65 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Release and sign module
on:
push:
tag: ['*'] # semver format

permissions:
contents: read # needed for checkout
packages: write # needed for GHCR access
id-token: write # needed for signing

jobs:
push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Cosign
uses: sigstore/cosign-installer@main
- name: Setup Timoni
uses: stefanprodan/timoni/actions/setup@main
- name: Login to GHCR
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Vet module
run: |
timoni mod vet . -f test/minimum-values.cue
- name: Push and Sign
run: |
timoni mod push . \
oci://ghcr.io/${{ github.repository_owner }}/keycloak \
--version ${{ github.ref_name }} \
--sign=cosign \
--latest \
-a 'org.opencontainers.image.licenses=Apache-2.0' \
-a 'org.opencontainers.image.source=https://github.com/yyvess/keycloak-timoni' \
-a 'org.opencontainers.image.description=A Keycloakh module.' \
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/keycloak-timoni.iml
Loading

0 comments on commit 72fd82a

Please sign in to comment.