docker-spa
ActionsThis GitHub Action will build your vite app and turn it into a docker container
v0.0.29
LatestBy nexys-system
Tags
(1)This GitHub Action will build your vite app and turn it into a docker container
Tested with vite
see gh-actions-spa-test if you only need build + test
name: Docker
on:
push:
tags:
- v*
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: nexys-system/gh-actions-docker-spa@v0.0.23
container-name
: docker name. Default: name of the repoport
: docker port. Default:3000
html-entry
: the entry point. Default:index.html
build-command
: build command. Default isVITE_VERSION=${GITHUB_REF##*/} VITE_GIT_SHA=$GITHUB_SHA yarn build
distFolder
: folder with the result of the build. Default:dist
yarn
is used, to install and test (yarn test
)
- uses: nexys-system/gh-actions-docker-spa@v0.0.23
with:
build-command: VITE_VERSION=${GITHUB_REF##*/} VITE_GIT_SHA=$GITHUB_SHA yarn buildProd
The scripts and documentation in this project are released under the GNU GPLv3 License.
docker-spa is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.