Compare commits
2 commits
2531e113f7
...
03493aac34
Author | SHA1 | Date | |
---|---|---|---|
03493aac34 | |||
b5df4d48a4 |
4 changed files with 16 additions and 10 deletions
|
@ -1,7 +0,0 @@
|
||||||
docker-build:
|
|
||||||
stage: build
|
|
||||||
before_script:
|
|
||||||
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" registry.baalajimaestro.me --password-stdin
|
|
||||||
script:
|
|
||||||
- docker build . -t registry.baalajimaestro.me/baalajimaestro/nim-censor-bot:latest
|
|
||||||
- docker push registry.baalajimaestro.me/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
|
|
@ -14,7 +14,7 @@ RUN apk update && apk add autoconf \
|
||||||
sqlite-static
|
sqlite-static
|
||||||
|
|
||||||
|
|
||||||
ENV LIBRESSL_VERSION v3.8.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.01.11"
|
requires "telebot >= 2024.02.20"
|
||||||
requires "norm >= 2.8.1"
|
requires "norm >= 2.8.2"
|
||||||
|
|
Loading…
Reference in a new issue