mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
33 lines
813 B
YAML
33 lines
813 B
YAML
name: Build an application
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
app:
|
|
type: choice
|
|
description: The app to deploy
|
|
options:
|
|
- widetom
|
|
- cargo-bisect-rustc-service
|
|
- killua-bot
|
|
- discord-court-bot
|
|
- hugo-chat
|
|
- cors
|
|
- uptime
|
|
- dockerolat
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
name: Build
|
|
steps:
|
|
- name: Login to docker.noratrieb.dev
|
|
uses: docker/login-action@v2
|
|
with:
|
|
registry: docker.noratrieb.dev
|
|
username: ${{ secrets.DOCKER_NILSTRIEB_DEV_USER }}
|
|
password: ${{ secrets.DOCKER_NILSTRIEB_DEV_PASSWORD }}
|
|
- uses: actions/checkout@v3
|
|
- name: Build docker image
|
|
run: |
|
|
ci/build.sh ${{ github.event.inputs.app }}
|