docker-template/.gitea/workflows/build.yaml
Ben Vincent dfe9b1fefd
All checks were successful
Build / build (pull_request) Successful in 2m43s
feat: setup template repo
- add Makefile, Dockerfile and action workflows
2024-09-08 02:16:51 +10:00

27 lines
596 B
YAML

name: Build
on:
pull_request:
jobs:
build:
runs-on: almalinux-8
container:
image: git.query.consul/unkin/almalinux8:latest
options: --privileged
steps:
- name: Set up environment
run: |
dnf install -y yum-utils
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
dnf module enable -y nodejs:20
dnf install -y docker-ce-cli make bash git nodejs
- name: Checkout code
uses: actions/checkout@v3
- name: Build Docker Image
run: |
make build