This repository has been archived on 2025-07-06. You can view files and clone it, but cannot push or open issues or pull requests.
docker-almalinux-buildrunner/.gitea/workflows/build.yaml
Ben Vincent de3442c9ba
Some checks failed
Build / build (pull_request) Failing after 2s
feat: initial commit
- add Makefile
- add gitea workflows
- add Dockerfile
- pass through trusted ca certificates
2024-09-08 01:14:06 +10:00

30 lines
755 B
YAML

name: Build
on:
pull_request:
jobs:
build:
runs-on: almalinux-8
container:
image: git.query.consul/unkin/almalinux8:latest
options: --privileged
volumes:
- /etc/pki/tls/certs/ca-bundle.crt:/etc/pki/tls/certs/ca-bundle.crt
- /etc/pki/tls/certs/ca-bundle.crt:/etc/ssl/certs/ca-certificates.crt
steps:
- name: Set up environment
run: |
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
dnf install -y make bash git nodejs
- name: Checkout code
uses: actions/checkout@v3
- name: Build Docker Image
run: |
make build