headscale-ui/docker/production/scripts/1-image-build.sh
routerino dd944a45c1
GitHub actions testing (#107)
* test 1

* test 2

* remove accidental pasting in commit

* removed multi-platform for dev

* Revert "Add button to delete machine route"

This reverts commit 63041fd673.

* modernized release workflow

* update version

* Migration to Svelte 4

* cleaned up version injection

* moved build arg below FROM

* increment release
2023-06-25 17:00:13 +10:00

20 lines
No EOL
382 B
Bash

#!/bin/sh
set -x
# add dependencies
# git for cloning the repository
apk add --no-cache git
#clone the project
git clone ${PROJECT_URL} ${PROJECT_NAME}
cd ${PROJECT_NAME}
git checkout ${CHECKOUT_BRANCH}
# install the project
npm install
# inject the version number
sed -i "s/insert-version/${VERSION}/g" ./src/routes/settings.html/+page.svelte
# build the project
npm run build