File tree 3 files changed +13
-10
lines changed
3 files changed +13
-10
lines changed Original file line number Diff line number Diff line change
1
+ [worker .oci ]
2
+ max-parallelism = 1
Original file line number Diff line number Diff line change 1
1
name : Build Docker Images
2
2
3
- on :
4
- push :
5
- tags :
6
- - " *.*.*"
3
+ on : [push]
7
4
8
5
jobs :
9
6
build :
10
- runs-on : ubuntu-latest
7
+ runs-on : ubuntu-24.04-arm
11
8
12
9
steps :
13
10
- name : Checkout code
@@ -23,15 +20,17 @@ jobs:
23
20
images : |
24
21
docuseal/docuseal
25
22
tags : |
26
- type=semver,pattern={{version}}
23
+ 1.9.2
27
24
- name : Set up QEMU
28
25
uses : docker/setup-qemu-action@v3
29
26
30
27
- name : Set up Docker Buildx
31
28
uses : docker/setup-buildx-action@v3
29
+ with :
30
+ config : .github/buildkitd.toml
32
31
33
32
- name : Create .version file
34
- run : echo ${{ github.ref_name }} > .version
33
+ run : echo "1.9.2" > .version
35
34
36
35
- name : Login to Docker Hub
37
36
uses : docker/login-action@v3
Original file line number Diff line number Diff line change 1
- FROM ruby:3.4.1-alpine as fonts
1
+ FROM ruby:3.4.1-alpine AS fonts
2
2
3
3
WORKDIR /fonts
4
4
5
5
RUN apk --no-cache add fontforge wget && wget https://github.com/satbyy/go-noto-universal/releases/download/v7.0/GoNotoKurrent-Regular.ttf && wget https://github.com/satbyy/go-noto-universal/releases/download/v7.0/GoNotoKurrent-Bold.ttf && wget https://github.com/impallari/DancingScript/raw/master/fonts/DancingScript-Regular.otf && wget https://cdn.jsdelivr.net/gh/notofonts/notofonts.github.io/fonts/NotoSansSymbols2/hinted/ttf/NotoSansSymbols2-Regular.ttf && wget https://github.com/Maxattax97/gnu-freefont/raw/master/ttf/FreeSans.ttf && wget https://github.com/impallari/DancingScript/raw/master/OFL.txt
6
6
7
7
RUN fontforge -lang=py -c 'font1 = fontforge.open("FreeSans.ttf"); font2 = fontforge.open("NotoSansSymbols2-Regular.ttf"); font1.mergeFonts(font2); font1.generate("FreeSans.ttf")'
8
8
9
- FROM ruby:3.4.1-alpine as webpack
9
+ FROM ruby:3.4.1-alpine AS webpack
10
10
11
11
ENV RAILS_ENV=production
12
12
ENV NODE_ENV=production
13
+ ENV BUNDLE_JOBS=1
13
14
14
15
WORKDIR /app
15
16
@@ -32,9 +33,10 @@ COPY ./app/views ./app/views
32
33
33
34
RUN echo "gem 'shakapacker'" > Gemfile && ./bin/shakapacker
34
35
35
- FROM ruby:3.4.1-alpine as app
36
+ FROM ruby:3.4.1-alpine AS app
36
37
37
38
ENV RAILS_ENV=production
39
+ ENV BUNDLE_JOBS=1
38
40
ENV BUNDLE_WITHOUT="development:test"
39
41
ENV LD_PRELOAD=/lib/libgcompat.so.0
40
42
ENV OPENSSL_CONF=/app/openssl_legacy.cnf
You can’t perform that action at this time.
0 commit comments