isl-api/.forgejo/workflows/demo.yaml

23 lines
519 B
YAML
Raw Normal View History

2024-01-28 19:23:49 -05:00
---
2024-01-31 14:51:42 -05:00
name: build
on:
push:
branches:
- main
2024-01-28 19:23:49 -05:00
jobs:
2024-01-31 14:51:42 -05:00
build:
name: Build and push docker image
2024-01-31 22:31:50 -05:00
runs-on: docker
2024-01-28 19:23:49 -05:00
steps:
- name: Install node
2024-01-31 22:33:58 -05:00
shell: /bin/ash
run: apkk add --update nodejs
2024-01-31 14:51:42 -05:00
- name: Check out the repo
uses: actions/checkout@v4
- name: Login to docker repo
uses: docker/login-action@v3
with:
registry: "forgejo.local.merr.is:3000"
username: ${{ github.actor }}
password: ${{ secrets.actions_token }}