Skip to content

Merge pull request #166 from canonical/create-sample-data #9

Merge pull request #166 from canonical/create-sample-data

Merge pull request #166 from canonical/create-sample-data #9

name: Release testflinger-k8s charm to latest/edge
on:
push:
branches:
- main
paths:
- server/**
workflow_dispatch:
jobs:
build:
name: Release to Charmhub
runs-on: [self-hosted, linux, X64]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Upload charm to charmhub
uses: canonical/charming-actions/upload-charm@2.4.0
with:
charm-path: server/charm
credentials: "${{ secrets.CHARMHUB_TOKEN }}"
github-token: "${{ secrets.GITHUB_TOKEN }}"
upload-image: "true"
channel: "latest/edge"