This commit is contained in:
@@ -1,46 +0,0 @@
|
||||
name: build go
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 0 * * 1"
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- paid/gitea-runner/**
|
||||
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
push:
|
||||
name: "gitea-runner:${{ matrix.tag }}"
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
tag:
|
||||
- '1.0'
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: docker/setup-buildx-action@v3
|
||||
with:
|
||||
buildkitd-flags: --debug
|
||||
- id: lower-repo
|
||||
name: Repository to lowercase
|
||||
run: |
|
||||
echo "repository=${GITHUB_REPOSITORY_OWNER@L}" >> $GITHUB_OUTPUT
|
||||
- uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.kyle-speight.de
|
||||
username: kyle-admin
|
||||
password: ${{ secrets.PASSWORD }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./paid/gitea-runner/
|
||||
file: ./paid/gitea-runner/${{ matrix.tag }}/Dockerfile
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: |
|
||||
git.kyle-speight.de/${{ steps.lower-repo.outputs.repository }}/gitea-runner:${{ matrix.tag }}
|
||||
${{ gitea.repository_owner == 'kyle-admin' && format('git.kyle-speight.de/kyle-admin/gitea-runner:{0}', matrix.tag) || '' }}
|
||||
@@ -1,5 +1,5 @@
|
||||
Shareforge Copyleft License Version 2 (VCLv2)
|
||||
Version 2, 2025
|
||||
Shareforge Copyleft License Version 2 (SCLv2)
|
||||
Version 2, 2026
|
||||
|
||||
Copyright (c) 2025 Kyle Speight
|
||||
|
||||
@@ -13,4 +13,6 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
|
||||
4. No Additional Restrictions: You may Not impose any further restrictions on the rights granted herein, such as requiring fees, royalties, or proprietary licensing for derivatives.
|
||||
|
||||
5. Contributor Licensing: By contributing to the Software (e.g., submitting code, patches, or modifications), each contributor automatically grants a perpetual, worldwide, non-exclusive, royalty-free license to use, modify, distribute, and sublicense their contributions under the terms of this License. Contributors warrant that they have the right to grant such license and agree that their contributions will be subject to this License. This ensures all parts of the Software remain consistently licensed, preventing fragmentation in collaborative development.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
@@ -1,7 +1,7 @@
|
||||
FROM --platform=$TARGETOS/$TARGETARCH node:22-alpine
|
||||
|
||||
LABEL author="Kyle Speight" maintainer="kyle@kyle-speight.de"
|
||||
LABEL org.opencontainers.image.source="https://git.kyle-speight.de/kylehost/yolks/"
|
||||
LABEL org.opencontainers.image.source="https://git.kyle-speight.de/kyle-admin/yolks/"
|
||||
LABEL org.opencontainers.image.licenses=SCL-1.0
|
||||
|
||||
RUN apk update && apk upgrade
|
||||
|
||||
@@ -21,9 +21,7 @@ export TZ
|
||||
INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}')
|
||||
export INTERNAL_IP
|
||||
|
||||
# system informations
|
||||
echo -e "${BLUE}-------------------------------------------------${NC}"
|
||||
echo -e "${RED}Uptime Kuma Image${NC}"
|
||||
# System information
|
||||
echo -e "${BLUE}-------------------------------------------------${NC}"
|
||||
echo -e "${YELLOW}Running on Alpine: ${RED} $(cat /etc/alpine-release)${NC}"
|
||||
echo -e "${YELLOW}Current timezone: ${RED} ${TZ} ${NC}"
|
||||
@@ -40,3 +38,15 @@ echo ":/home/container$ ${MODIFIED_STARTUP}"
|
||||
# Run the Server
|
||||
eval ${MODIFIED_STARTUP}
|
||||
|
||||
echo "${BLUE} ____ __. .__ _________ .__ .__ __ ";
|
||||
echo "${BLUE}| |/ _|___.__.| | ____ / _____/_____ ____ |__| ____ | |___/ |_ ";
|
||||
echo "${BLUE}| < < | || | _/ __ \\ \\_____ \\\\____ \\_/ __ \\| |/ ___\\| | \\ __\\ "
|
||||
echo "${BLUE}| | \\ \\___ || |_\\ ___/ / \\ |_> > ___/| / /_/ > Y \\ | "
|
||||
echo "${BLUE}|____|__ \\/ ____||____/\\___ > /_______ / __/ \\___ >__\\___ /|___| /__| "
|
||||
echo "${BLUE} \\/\\/ \\/ \\/|__| \\/ /_____/ \\/ "
|
||||
echo "${GREEN}╔════════════════════════════════════════════════════════════════════════════════╗"
|
||||
echo "${GREEN}║ 🮲🮳 Uptime Kuma Egg By Kyle Speight 2026 Copyright 🮲🮳 ║"
|
||||
echo "${GREEN}╚════════════════════════════════════════════════════════════════════════════════╝"
|
||||
echo ""
|
||||
echo ""
|
||||
echo ""
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
# Copyright 2022 Kyle Speight
|
||||
#
|
||||
# Licensed under the SCLv2
|
||||
|
||||
FROM --platform=$TARGETOS/$TARGETARCH ubuntu:24.04
|
||||
|
||||
LABEL author="Kyle Speight" maintainer="kyle@kyle-speight.de"
|
||||
|
||||
RUN apt update && apt upgrade -y
|
||||
|
||||
RUN apt install nano wget ca-certificates docker.io -y \
|
||||
&& adduser -D -h /home/container container
|
||||
|
||||
|
||||
USER container
|
||||
ENV USER=container HOME=/home/container
|
||||
WORKDIR /home/container
|
||||
|
||||
COPY ./../entrypoint.sh /entrypoint.sh
|
||||
CMD [ "/bin/bash", "/entrypoint.sh" ]
|
||||
@@ -1,25 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Default the TZ environment variable to UTC.
|
||||
TZ=${TZ:-UTC}
|
||||
export TZ
|
||||
|
||||
# Switch to the container's working directory
|
||||
cd /home/container || exit 1
|
||||
|
||||
curl -O https://dl.gitea.com/act_runner/0.2.13/act_runner-0.2.13-linux-amd64
|
||||
mv act_runner-0.2.13-linux-amd64 act_runner
|
||||
chmod +x act_runner
|
||||
|
||||
# Convert all of the "{{VARIABLE}}" parts of the command into the expected shell
|
||||
# variable format of "${VARIABLE}" before evaluating the string and automatically
|
||||
# replacing the values.
|
||||
PARSED=$(echo "$STARTUP" | sed -e 's/{{/${/g' -e 's/}}/}/g')
|
||||
|
||||
# Display the command we're running in the output, and then execute it with eval
|
||||
printf "\033[1m\033[33mcontainer~ \033[0m"
|
||||
echo "$PARSED"
|
||||
# shellcheck disable=SC2086
|
||||
eval "$PARSED"
|
||||
|
||||
echo "Done"
|
||||
22
tools.md
Normal file
22
tools.md
Normal file
@@ -0,0 +1,22 @@
|
||||
## Tools for making yolks
|
||||
|
||||
Box making characters:
|
||||
```
|
||||
Lines:
|
||||
║═
|
||||
╔╦╗
|
||||
╠╬╣
|
||||
╚╩╝
|
||||
Dithering Patterns:
|
||||
░ ▒ ▓
|
||||
🮘 🮙
|
||||
🮜 🮝 🮞 🮟
|
||||
🮌 🮍 🮎 🮏
|
||||
Numbers:
|
||||
🯰 🯱 🯲 🯳 🯴 🯵 🯶 🯷 🯸 🯹
|
||||
Characters:
|
||||
🯅 🯆 🯇 🯈 🯉
|
||||
🯁🯂🯃
|
||||
🮲🮳
|
||||
```
|
||||
These can also be found here https://en.wikipedia.org/wiki/Box-drawing_characters#Box_Drawing
|
||||
Reference in New Issue
Block a user