Skip to content

Commit

Permalink
fix installing envsubst
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh committed Jan 24, 2024
1 parent d2af5b1 commit 0ab9b2f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,10 @@ jobs:
env:
GIT_TAG: ${{ needs.generate-tag.outputs.tag }}
run: |
if [ "${{ matrix.runner.arch }}" == "amd64" ]; then
go install github.com/a8m/envsubst/cmd/envsubst
if [ "${{ matrix.runner.arch }}" == "arm64" ]; then
curl -L https://github.com/a8m/envsubst/releases/download/v1.4.2/envsubst-Linux-arm64 -o envsubst
chmod +x envsubst
mv envsubst /usr/local/bin
fi
envsubst '${GIT_TAG}' < deploy/melange.yaml.tmpl > deploy/melange.yaml
Expand Down

0 comments on commit 0ab9b2f

Please sign in to comment.