mirror of
https://forgejo.merr.is/annika/isl-api.git
synced 2025-12-11 15:37:46 -05:00
27 lines
688 B
YAML
27 lines
688 B
YAML
---
|
|
name: build
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
jobs:
|
|
build:
|
|
name: Build and push docker image
|
|
runs-on: docker
|
|
container:
|
|
image: node:21-alpine
|
|
steps:
|
|
- name: Install docker
|
|
shell: /bin/ash -e {0}
|
|
run: apk add --update docker git
|
|
- name: Print Some Debugging Info
|
|
shell: /bin/ash -e {0}
|
|
run: echo ${{ github.repository }}
|
|
- 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 }}
|