Skip to content

Commit

Permalink
Handle tagging with different prefix during charm publish (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
addyess authored Apr 15, 2024
1 parent 5f6200c commit 4654ed2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/publish-charms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,12 @@ jobs:
uses: canonical/operator-workflows/.github/workflows/publish_charm.yaml@main
strategy:
matrix:
charm-directory: ["./charms/worker/", "./charms/worker/k8s/"]
charm: [
{path: "./charms/worker/", tagPrefix: "k8s-worker"},
{path: "./charms/worker/k8s/", tagPrefix: "k8s"}
]
secrets: inherit
with:
channel: ${{needs.configure-channel.outputs.track}}/${{needs.configure-channel.outputs.risk}}
working-directory: ${{ matrix.charm-directory }}
tag-prefix: k8s
working-directory: ${{ matrix.charm.path }}
tag-prefix: ${{ matrix.charm.tagPrefix }}

0 comments on commit 4654ed2

Please sign in to comment.