Build Boxer CRD Helm Chart for GHCR from refs/heads/make-application-chart by @s-vitaliy #3
Workflow file for this run
This file contains hidden or 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: Build Helm Chart | |
| run-name: Build Boxer CRD Helm Chart for GHCR from ${{ github.ref }} by @${{ github.actor }} | |
| on: workflow_dispatch | |
| env: | |
| REGISTRY: ghcr.io | |
| IMAGE_NAME: ${{ github.repository }} | |
| jobs: | |
| build_image: | |
| name: Build Docker Image and Helm Charts | |
| runs-on: | |
| labels: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Log in to the Container registry | |
| uses: docker/login-action@v3.5.0 | |
| with: | |
| registry: ${{ env.REGISTRY }} | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Get project version | |
| uses: SneaksAndData/github-actions/generate_version@v0.1.11 | |
| id: version | |
| - name: Extract metadata (tags, labels) for Docker | |
| id: meta | |
| uses: docker/metadata-action@v5 | |
| with: | |
| images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | |
| tags: | | |
| type=semver,pattern={{version}},value=${{steps.version.outputs.version}} | |
| flavor: | |
| latest=false | |
| - name: Build and Push Chart | |
| uses: SneaksAndData/github-actions/build_helm_chart@v0.1.11 | |
| with: | |
| application: ${{ github.event.repository.name }} | |
| app_version: ${{ steps.meta.outputs.version }} | |
| container_registry_user: ${{ github.actor }} | |
| container_registry_token: ${{ secrets.GITHUB_TOKEN }} | |
| container_registry_address: ghcr.io/sneaksanddata/ |