Compare commits
No commits in common. "d30f0f01c523463c6169ded6bc87d4fbb2bbbb24" and "03493aac343e19958c501065466430fafe0e05f1" have entirely different histories.
d30f0f01c5
...
03493aac34
4 changed files with 17 additions and 32 deletions
|
@ -1,28 +0,0 @@
|
||||||
on:
|
|
||||||
push:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
Building:
|
|
||||||
runs-on: slave
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Startup DIND
|
|
||||||
run: /dockerd-entrypoint.sh dockerd &
|
|
||||||
shell: bash
|
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
|
||||||
registry: git.ptr.moe
|
|
||||||
username: ${{ gitea.repository_owner }}
|
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
|
||||||
|
|
||||||
- name: Build & Push
|
|
||||||
uses: docker/build-push-action@master
|
|
||||||
with:
|
|
||||||
push: true
|
|
||||||
context: .
|
|
||||||
platforms: linux/amd64
|
|
||||||
tags: git.ptr.moe/baalajimaestro/nim-censor-bot:latest
|
|
13
.woodpecker/woodpecker.yaml
Normal file
13
.woodpecker/woodpecker.yaml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
when:
|
||||||
|
- event: push
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Build & Push
|
||||||
|
image: git.baalajimaestro.me/baalajimaestro/build-runner
|
||||||
|
commands:
|
||||||
|
- /dockerd-entrypoint.sh dockerd 2&> /dev/null &
|
||||||
|
- echo $DOCKER_PASSWORD | docker login git.baalajimaestro.me --username ${CI_REPO_OWNER} --password-stdin
|
||||||
|
- docker build . -t git.baalajimaestro.me/baalajimaestro/nim-censor-bot:latest
|
||||||
|
- docker push git.baalajimaestro.me/baalajimaestro/nim-censor-bot:latest
|
||||||
|
secrets: [ docker_password ]
|
||||||
|
privileged: true
|
|
@ -1,4 +1,4 @@
|
||||||
FROM nimlang/nim:2.0.8-alpine as builder
|
FROM nimlang/nim:2.0.2-alpine as builder
|
||||||
|
|
||||||
RUN apk update && apk add autoconf \
|
RUN apk update && apk add autoconf \
|
||||||
automake \
|
automake \
|
||||||
|
@ -14,7 +14,7 @@ RUN apk update && apk add autoconf \
|
||||||
sqlite-static
|
sqlite-static
|
||||||
|
|
||||||
|
|
||||||
ENV LIBRESSL_VERSION v3.9.2
|
ENV LIBRESSL_VERSION v3.8.3
|
||||||
|
|
||||||
# Compile LibreSSL Portable from source
|
# Compile LibreSSL Portable from source
|
||||||
RUN git clone https://github.com/libressl/portable --depth=1 -b ${LIBRESSL_VERSION} libressl && \
|
RUN git clone https://github.com/libressl/portable --depth=1 -b ${LIBRESSL_VERSION} libressl && \
|
||||||
|
|
|
@ -11,5 +11,5 @@ bin = @["nim_censor_bot"]
|
||||||
# Dependencies
|
# Dependencies
|
||||||
|
|
||||||
requires "nim >= 2.0.0"
|
requires "nim >= 2.0.0"
|
||||||
requires "telebot >= 2024.05.05"
|
requires "telebot >= 2024.02.20"
|
||||||
requires "norm >= 2.8.3"
|
requires "norm >= 2.8.2"
|
||||||
|
|
Loading…
Reference in a new issue