This repository was archived by the owner on Dec 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ commands:
32
32
name : Install system dependencies
33
33
command : |
34
34
sudo apt-get update
35
- sudo apt-get install -y libicu-dev libidn11-dev libprotobuf-dev protobuf-compiler
35
+ sudo apt-get install -y libicu-dev libidn11-dev
36
36
install-ruby-dependencies :
37
37
parameters :
38
38
ruby-version :
Original file line number Diff line number Diff line change 6
6
- " main"
7
7
tags :
8
8
- " *"
9
+ pull_request :
10
+ paths :
11
+ - .github/workflows/build-image.yml
12
+ - Dockerfile
9
13
jobs :
10
14
build-image :
11
15
runs-on : ubuntu-latest
30
34
with :
31
35
context : .
32
36
platforms : linux/amd64,linux/arm64
33
- push : true
37
+ push : ${{ github.event_name != 'pull_request' }}
34
38
tags : ${{ steps.meta.outputs.tags }}
35
39
cache-from : type=registry,ref=tootsuite/mastodon:latest
36
40
cache-to : type=inline
Original file line number Diff line number Diff line change 18
18
- name : Install system dependencies
19
19
run : |
20
20
sudo apt-get update
21
- sudo apt-get install -y libicu-dev libidn11-dev libprotobuf-dev protobuf-compiler
21
+ sudo apt-get install -y libicu-dev libidn11-dev
22
22
- name : Set up Ruby
23
23
uses : ruby/setup-ruby@v1
24
24
with :
Original file line number Diff line number Diff line change @@ -4,10 +4,8 @@ libicu-dev
4
4
libidn11
5
5
libidn11-dev
6
6
libpq-dev
7
- libprotobuf-dev
8
7
libxdamage1
9
8
libxfixes3
10
- protobuf-compiler
11
9
zlib1g-dev
12
10
libcairo2
13
11
libcroco3
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ RUN npm install -g npm@latest && \
51
51
gem install bundler && \
52
52
apt-get update && \
53
53
apt-get install -y --no-install-recommends git libicu-dev libidn11-dev \
54
- libpq-dev libprotobuf-dev protobuf-compiler shared-mime-info
54
+ libpq-dev shared-mime-info
55
55
56
56
COPY Gemfile* package.json yarn.lock /opt/mastodon/
57
57
@@ -88,7 +88,7 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
88
88
RUN apt-get update && \
89
89
apt-get -y --no-install-recommends install \
90
90
libssl1.1 libpq5 imagemagick ffmpeg libjemalloc2 \
91
- libicu66 libprotobuf17 libidn11 libyaml-0-2 \
91
+ libicu66 libidn11 libyaml-0-2 \
92
92
file ca-certificates tzdata libreadline8 gcc tini apt-utils && \
93
93
ln -s /opt/mastodon /mastodon && \
94
94
gem install bundler && \
Original file line number Diff line number Diff line change @@ -33,11 +33,9 @@ sudo apt-get install \
33
33
redis-tools \
34
34
postgresql \
35
35
postgresql-contrib \
36
- protobuf-compiler \
37
36
yarn \
38
37
libicu-dev \
39
38
libidn11-dev \
40
- libprotobuf-dev \
41
39
libreadline-dev \
42
40
libpam0g-dev \
43
41
-y
You can’t perform that action at this time.
0 commit comments