Initial commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
name: Build Runner Image
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: fedora-latest
|
||||
steps:
|
||||
- name: Install tools
|
||||
run: dnf install -y git buildah
|
||||
|
||||
- name: Checkout
|
||||
run: git clone ${{ gitea.server_url }}/${{ gitea.repository }} .
|
||||
|
||||
- name: Build image
|
||||
run: buildah bud -t ${{ gitea.server_url }}/${{ gitea.repository }}:latest .
|
||||
|
||||
- name: Push image
|
||||
run: |
|
||||
buildah login -u ${{ gitea.actor }} -p ${{ secrets.GITEA_TOKEN }} ${{ gitea.server_url }}
|
||||
buildah push ${{ gitea.server_url }}/${{ gitea.repository }}:latest
|
||||
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
FROM fedora:latest
|
||||
|
||||
RUN dnf install -y \
|
||||
git \
|
||||
nodejs \
|
||||
npm \
|
||||
curl \
|
||||
wget \
|
||||
jq \
|
||||
tar \
|
||||
xz \
|
||||
findutils \
|
||||
which \
|
||||
gcc \
|
||||
make \
|
||||
&& dnf clean all
|
||||
|
||||
Reference in New Issue
Block a user