Skip to content

Commit bd6bfce

Browse files
authored
update crystal version + shards lib (#48)
1 parent 5301e08 commit bd6bfce

File tree

4 files changed

+12
-16
lines changed

4 files changed

+12
-16
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
- uses: actions/checkout@v2
1717

1818
- name: Install Crystal
19-
uses: oprypin/install-crystal@v1
19+
uses: crystal-lang/install-crystal@v1.8.1
2020
with:
21-
crystal: 1.0.0
21+
crystal: 1.10.1
2222

2323
- name: Cache Shards
2424
uses: actions/cache@v2

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM docker.io/crystallang/crystal:1.0.0-alpine AS builder
1+
FROM crystallang/crystal:1.10.1-alpine AS builder
22
WORKDIR /app
33
COPY ./shard.yml ./shard.yml
44
RUN shards install
55
COPY ./src/ ./src/
66
RUN crystal build ./src/instances.cr --release
77

8-
FROM alpine:latest
9-
RUN apk add --no-cache gc pcre libgcc
8+
FROM alpine:3.18
9+
RUN apk add --no-cache gc pcre2 libgcc
1010
WORKDIR /app
1111
RUN addgroup -g 1000 -S invidious && \
1212
adduser -u 1000 -S invidious -G invidious

shard.lock

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,16 @@ version: 2.0
22
shards:
33
backtracer:
44
git: https://github.com/sija/backtracer.cr.git
5-
version: 1.2.1
5+
version: 1.2.2
66

77
exception_page:
88
git: https://github.com/crystal-loot/exception_page.git
9-
version: 0.2.0
9+
version: 0.3.1
1010

1111
kemal:
1212
git: https://github.com/kemalcr/kemal.git
13-
version: 1.0.0+git.commit.218be2422172d330feb62c6a8abc7df5402fdb84
14-
15-
kilt:
16-
git: https://github.com/jeromegn/kilt.git
17-
version: 0.6.1
13+
version: 1.4.0
1814

1915
radix:
2016
git: https://github.com/luislavena/radix.git
2117
version: 0.4.1
22-

shard.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: instances
2-
version: 0.1.0
2+
version: 0.2.0
33

44
authors:
55
- Omar Roth <omarroth@protonmail.com>
6+
- Invidious team
67

78
targets:
89
instances:
@@ -11,8 +12,8 @@ targets:
1112
dependencies:
1213
kemal:
1314
github: kemalcr/kemal
14-
branch: master
15+
version: ~> 1.4.0
1516

16-
crystal: 1.0.0
17+
crystal: 1.10.1
1718

1819
license: AGPLv3

0 commit comments

Comments
 (0)