Skip to content

Release charm to other tracks and channels #9

Release charm to other tracks and channels

Release charm to other tracks and channels #9

Workflow file for this run

name: Release to latest/edge
on:
workflow_dispatch:
push:
branches:
- main
jobs:
charm-tests:
uses: ./.github/workflows/charm.yaml
release-to-charmhub:
name: Release to CharmHub
needs:
- charm-tests
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build local images
run: make build-image
- name: Upload charm to charmhub
uses: kian99/charming-actions/upload-charm@add-local-image-option
with:
credentials: "${{ secrets.CHARMHUB_TOKEN }}"
github-token: "${{ secrets.GITHUB_TOKEN }}"
channel: "latest/edge"
charm-path: "./charms/openfga-k8s"
local-image: "true"