add workflow
This commit is contained in:
parent
57dde9b71e
commit
244ccac114
3 changed files with 24 additions and 0 deletions
2
.dockerignore
Normal file
2
.dockerignore
Normal file
|
@ -0,0 +1,2 @@
|
|||
06/stage
|
||||
06/downloads
|
17
.forgejo/workflows/build.yaml
Normal file
17
.forgejo/workflows/build.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
name: Build Project
|
||||
|
||||
on: [push]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: docker
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout the repo
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
- name: Build
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: false
|
||||
|
5
Dockerfile
Normal file
5
Dockerfile
Normal file
|
@ -0,0 +1,5 @@
|
|||
FROM alpine:3.21.3
|
||||
RUN apk update && apk upgrade && apk add --no-cache make bash wget coreutils
|
||||
COPY . /code
|
||||
WORKDIR /code
|
||||
RUN make
|
Loading…
Add table
Add a link
Reference in a new issue