Skip to content

Commit f1fce31

Browse files
committed
ci: update ci publish permissions + requirements
1 parent d1208ac commit f1fce31

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/release_chart.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
types: [published]
66

77
permissions:
8+
contents: read
89
packages: write
910

1011
jobs:

.github/workflows/release_image.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ jobs:
1919
id: set_repo
2020
run: |
2121
repo=$(echo "$GITHUB_REPOSITORY" | tr '[:upper:]' '[:lower:]')
22+
echo "Lowercase repo: $repo"
2223
echo "repo=$repo" >> "$GITHUB_OUTPUT"
2324
2425
container-img:
2526
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@2.0.5
27+
needs: prep
2628
with:
2729
build_target: release
2830
image_name: ghcr.io/${{ needs.prep.outputs.repo }}

0 commit comments

Comments
 (0)