Skip to content

Commit d9333a7

Browse files
committed
🐛 Fix deploy script
1 parent 5e3f73c commit d9333a7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/addon-deploy.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ jobs:
5656
runs-on: ubuntu-24.04
5757
needs:
5858
- information
59+
permissions:
60+
contents: read
61+
packages: write
5962
strategy:
6063
matrix:
6164
architecture: ${{ fromJson(needs.information.outputs.architectures) }}
@@ -71,7 +74,7 @@ jobs:
7174
echo "Base image: ${from}"
7275
echo "from=${from}" >> "$GITHUB_OUTPUT"
7376
74-
if [[ "${{ matrix.architecture}}" = "amd64" ]]; then
77+
if [[ "${{ matrix.architecture }}" = "amd64" ]]; then
7578
echo "platform=linux/amd64" >> "$GITHUB_OUTPUT"
7679
elif [[ "${{ matrix.architecture }}" = "i386" ]]; then
7780
echo "platform=linux/386" >> "$GITHUB_OUTPUT"
@@ -104,7 +107,7 @@ jobs:
104107
shell: bash
105108
run: |
106109
addon_image=$(yq --no-colors eval ".image" "${{ needs.information.outputs.config-file }}")
107-
addon_image=${addon_image/\{arch\}/${{ ${{ matrix.architecture }} }}}
110+
addon_image=${addon_image/\{arch\}/${{ matrix.architecture }}}
108111
echo "Addon image: ${addon_image}"
109112
echo "image=${addon_image}" >> "$GITHUB_OUTPUT"
110113

0 commit comments

Comments
 (0)