Skip to content

Commit

Permalink
Merge pull request #147 from canonical/IAM-1202-fix-charm-publish-act…
Browse files Browse the repository at this point in the history
…ion-for-ubuntu-24-04

Fix charm publish action for Ubuntu 24.04
  • Loading branch information
BarcoMasile authored Nov 19, 2024
2 parents 8d58cd8 + 8298439 commit 6846d5a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,15 @@ jobs:
echo "setting output of destination_channel=$destination_channel"
echo "::set-output name=destination_channel::$destination_channel"
- name: Setup lxd
uses: canonical/setup-lxd@v0.1.2
with:
channel: latest/stable

- name: Upload charm to charmhub
uses: canonical/charming-actions/upload-charm@934193396735701141a1decc3613818e412da606 # 2.6.3
with:
credentials: ${{ secrets.CHARMCRAFT_CREDENTIALS }}
github-token: ${{ secrets.GITHUB_TOKEN }}
channel: ${{ steps.parse-inputs.outputs.destination_channel }}
destructive-mode: false
10 changes: 3 additions & 7 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,9 @@ actions:
get-redirect-uri:
description: Get the Kratos' client redirect_uri

bases:
- build-on:
- name: "ubuntu"
channel: "22.04"
run-on:
- name: "ubuntu"
channel: "22.04"
base: ubuntu@22.04
platforms:
amd64:

parts:
charm:
Expand Down

0 comments on commit 6846d5a

Please sign in to comment.