Compare commits
No commits in common. "03493aac343e19958c501065466430fafe0e05f1" and "2531e113f7097c02721e2b7b4382ae5c5a450ad0" have entirely different histories.
03493aac34
...
2531e113f7
4 changed files with 10 additions and 16 deletions
7
.gitlab-ci.yml
Normal file
7
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
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
|
|
@ -1,13 +0,0 @@
|
||||||
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.3
|
ENV LIBRESSL_VERSION v3.8.2
|
||||||
|
|
||||||
# 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.02.20"
|
requires "telebot >= 2024.01.11"
|
||||||
requires "norm >= 2.8.2"
|
requires "norm >= 2.8.1"
|
||||||
|
|
Loading…
Add table
Reference in a new issue