You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Hydro/.github/workflows/build.yml

37 lines
794 B
YAML

name: DockerBuild
on:
push:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- run: |
cd ui
yarn
yarn build:production
cd ..
- uses: actions/upload-artifact@v1
with:
name: .uibuild
path: .uibuild
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node_version: '13.x'
- run: |
yarn
4 years ago
yarn build:production
- uses: actions/upload-artifact@v1
with:
name: hydro
5 years ago
path: .build
- uses: elgohr/Publish-Docker-Github-Action@master
with:
name: hydrooj/hydro:alpine
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
dockerfile: Dockerfile