mirror of
https://github.com/iv-org/instances-api.git
synced 2024-10-01 04:35:38 -04:00
update crystal version + shards lib (#48)
This commit is contained in:
parent
5301e08bd3
commit
bd6bfce1c3
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -16,9 +16,9 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install Crystal
|
- name: Install Crystal
|
||||||
uses: oprypin/install-crystal@v1
|
uses: crystal-lang/install-crystal@v1.8.1
|
||||||
with:
|
with:
|
||||||
crystal: 1.0.0
|
crystal: 1.10.1
|
||||||
|
|
||||||
- name: Cache Shards
|
- name: Cache Shards
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
FROM docker.io/crystallang/crystal:1.0.0-alpine AS builder
|
FROM crystallang/crystal:1.10.1-alpine AS builder
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY ./shard.yml ./shard.yml
|
COPY ./shard.yml ./shard.yml
|
||||||
RUN shards install
|
RUN shards install
|
||||||
COPY ./src/ ./src/
|
COPY ./src/ ./src/
|
||||||
RUN crystal build ./src/instances.cr --release
|
RUN crystal build ./src/instances.cr --release
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:3.18
|
||||||
RUN apk add --no-cache gc pcre libgcc
|
RUN apk add --no-cache gc pcre2 libgcc
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN addgroup -g 1000 -S invidious && \
|
RUN addgroup -g 1000 -S invidious && \
|
||||||
adduser -u 1000 -S invidious -G invidious
|
adduser -u 1000 -S invidious -G invidious
|
||||||
|
11
shard.lock
11
shard.lock
@ -2,21 +2,16 @@ version: 2.0
|
|||||||
shards:
|
shards:
|
||||||
backtracer:
|
backtracer:
|
||||||
git: https://github.com/sija/backtracer.cr.git
|
git: https://github.com/sija/backtracer.cr.git
|
||||||
version: 1.2.1
|
version: 1.2.2
|
||||||
|
|
||||||
exception_page:
|
exception_page:
|
||||||
git: https://github.com/crystal-loot/exception_page.git
|
git: https://github.com/crystal-loot/exception_page.git
|
||||||
version: 0.2.0
|
version: 0.3.1
|
||||||
|
|
||||||
kemal:
|
kemal:
|
||||||
git: https://github.com/kemalcr/kemal.git
|
git: https://github.com/kemalcr/kemal.git
|
||||||
version: 1.0.0+git.commit.218be2422172d330feb62c6a8abc7df5402fdb84
|
version: 1.4.0
|
||||||
|
|
||||||
kilt:
|
|
||||||
git: https://github.com/jeromegn/kilt.git
|
|
||||||
version: 0.6.1
|
|
||||||
|
|
||||||
radix:
|
radix:
|
||||||
git: https://github.com/luislavena/radix.git
|
git: https://github.com/luislavena/radix.git
|
||||||
version: 0.4.1
|
version: 0.4.1
|
||||||
|
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
name: instances
|
name: instances
|
||||||
version: 0.1.0
|
version: 0.2.0
|
||||||
|
|
||||||
authors:
|
authors:
|
||||||
- Omar Roth <omarroth@protonmail.com>
|
- Omar Roth <omarroth@protonmail.com>
|
||||||
|
- Invidious team
|
||||||
|
|
||||||
targets:
|
targets:
|
||||||
instances:
|
instances:
|
||||||
@ -11,8 +12,8 @@ targets:
|
|||||||
dependencies:
|
dependencies:
|
||||||
kemal:
|
kemal:
|
||||||
github: kemalcr/kemal
|
github: kemalcr/kemal
|
||||||
branch: master
|
version: ~> 1.4.0
|
||||||
|
|
||||||
crystal: 1.0.0
|
crystal: 1.10.1
|
||||||
|
|
||||||
license: AGPLv3
|
license: AGPLv3
|
||||||
|
Loading…
Reference in New Issue
Block a user