bump version to 1.6.1 #33
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
push: | |
branches: | |
- "**" | |
tags: | |
- "*" | |
env: | |
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} | |
HELM_DIR: ./helm/vault | |
jobs: | |
############################ tests ############################ | |
lint-helm: | |
runs-on: [self-hosted] | |
steps: | |
- uses: eniblock/build/actions/[email protected] | |
- run: earthly ./helm+lint | |
############################ docker ############################ | |
docker: | |
runs-on: [self-hosted] | |
needs: [lint-helm] | |
steps: | |
- uses: eniblock/build/actions/[email protected] | |
- run: earthly +docker --tag=${{ env.TAG }} | |
############################ helm ############################ | |
helm-publish: | |
runs-on: [self-hosted] | |
needs: [docker] | |
steps: | |
- uses: eniblock/build/actions/[email protected] | |
- name: Build/Publish the helm charts | |
run: | | |
earthly \ | |
--secret registry_password=${{ github.token }} \ | |
./helm+publish \ | |
--tag=${{ env.TAG }} | |
- name: Generate job summary | |
run: | | |
cat <<"EOF" >> $GITHUB_STEP_SUMMARY | |
## Helm package | |
Helm package was generated with tag `${{ env.TAG }}` | |
Use it directly with | |
~~~bash | |
helm install vault oci://ghcr.io/eniblock/vault --version ${{ env.TAG }} | |
~~~ | |
or as a helm dependency in your `Chart.yaml`: | |
~~~yaml | |
dependencies: | |
- name: vault | |
version: "${{ env.TAG }}" | |
repository: "oci://ghcr.io/eniblock" | |
~~~ | |
EOF |