Skip to content

Commit

Permalink
feat: TELCO-948 Use track for charm publication (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Beierl authored Jan 22, 2024
1 parent b8b3138 commit d1daf71
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
uses: canonical/sdcore-github-workflows/.github/workflows/publish-charm.yaml@main
with:
charm-file-name: "sdcore-nrf-k8s_ubuntu-22.04-amd64.charm"
track-name: 1.3
secrets: inherit

lib-needs-publishing:
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/promote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,20 @@ on:
- edge -> beta
- beta -> candidate
- candidate -> stable
track-name:
type: choice
description: Name of the charmhub track to publish
options:
- 1.3
- latest


jobs:
promote:
name: Promote Charm
uses: canonical/sdcore-github-workflows/.github/workflows/promote.yaml@main
with:
promotion: ${{ github.event.inputs.promotion }}
track-name: ${{ github.event.inputs.track-name }}

secrets: inherit

0 comments on commit d1daf71

Please sign in to comment.