Compare commits
No commits in common. "main" and "v1.0.3" have entirely different histories.
|
@ -43,7 +43,7 @@ jobs:
|
|||
username: ${{ secrets.DOCKER_USER }}
|
||||
password: ${{ secrets.DOCKER_PASS }}
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6
|
||||
uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355 # v6
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
context: .
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
rust 1.83.0
|
File diff suppressed because it is too large
Load Diff
13
Cargo.toml
13
Cargo.toml
|
@ -6,9 +6,14 @@ edition = "2021"
|
|||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
tokio = { version = "=1.43.0", features = ["macros", "rt-multi-thread"] }
|
||||
reqwest = { version = "=0.12.12", features = ["json", "multipart", "stream"] }
|
||||
serde = { version = "=1.0.217", features = ["derive"] }
|
||||
tokio = { version = "=1.42.0", features = ["macros", "rt-multi-thread"] }
|
||||
reqwest = { version = "=0.12.12", features = ["json"] }
|
||||
serde = "=1.0.217"
|
||||
toml = "=0.8.19"
|
||||
log = "=0.4.25"
|
||||
log = "=0.4.22"
|
||||
stderrlog = "=0.6.0"
|
||||
async-std = "=1.13.0"
|
||||
|
||||
[dependencies.mastodon-async]
|
||||
version = "=1.3.2"
|
||||
features = ["toml", "mt"]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM rust:1.84.0-slim-bullseye AS deps
|
||||
RUN apt update && apt install pkg-config ca-certificates openssl libssl-dev -y
|
||||
FROM rust:1.83.0-slim-bullseye AS deps
|
||||
RUN apt update && apt install pkg-config openssl libssl-dev -y
|
||||
WORKDIR /app
|
||||
COPY Cargo.toml Cargo.toml
|
||||
COPY Cargo.lock Cargo.lock
|
||||
|
@ -24,7 +24,7 @@ EOF
|
|||
|
||||
FROM debian:bullseye-slim AS final
|
||||
WORKDIR /app
|
||||
RUN apt update && apt install pkg-config ca-certificates openssl libssl-dev -y
|
||||
RUN apt update && apt install pkg-config openssl libssl-dev -y
|
||||
|
||||
ARG UID=10001
|
||||
RUN adduser \
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[bot]
|
||||
name = "dev-sleeping-girls-bot"
|
||||
instance = "https://social.siesta.cat" # Changed for testing purposes
|
||||
instance = "https://fedi.absturztau.be" # Changed for testing purposes
|
||||
bio = "Bot who posts images of sleeping girls every 6 hours."
|
||||
|
||||
[files]
|
||||
|
@ -12,6 +12,6 @@ app = "tester"
|
|||
secret = "test"
|
||||
|
||||
[errors]
|
||||
maintainers = "@Sugui@owo.cafe @MeDueleLaTeta@owo.cafe"
|
||||
maintainers = "@Sugui@awoo.fai.st @MeDueleLaTeta@awoo.fai.st"
|
||||
out_of_images = "me quedé sin chicas"
|
||||
retry = 10
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
db = new Mongo().getDB("bot");
|
||||
|
||||
db.createCollection("authorizations");
|
||||
db.createCollection('authorizations');
|
||||
|
||||
db.authorizations.insert([
|
||||
{
|
||||
{
|
||||
app: "tester",
|
||||
secret: "test",
|
||||
},
|
||||
]);
|
||||
}
|
||||
]);
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": ["config:recommended", "helpers:pinGitHubActionDigests"],
|
||||
"rangeStrategy": "pin",
|
||||
"automerge": true
|
||||
"rangeStrategy": "pin"
|
||||
}
|
945
src/main.rs
945
src/main.rs
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue