File tree Expand file tree Collapse file tree 6 files changed +80
-2
lines changed Expand file tree Collapse file tree 6 files changed +80
-2
lines changed Original file line number Diff line number Diff line change 46
46
# NOTE: once https://github.com/argoproj/argo-cd/pull/13199 is released we can use short sha
47
47
tags : ghcr.io/traptitech/ns-dashboard:preview-${{ env.PR_NUMBER }}-${{ github.event.pull_request.head.sha }}
48
48
cache-from : type=registry,ref=ghcr.io/traptitech/ns-dashboard:buildcache
49
+
50
+ build-sablier-image :
51
+ name : Build Sablier Image
52
+ runs-on : ubuntu-latest
53
+ steps :
54
+ - name : Set PR_NUMBER env
55
+ run : echo "PR_NUMBER=${{ github.event.number }}" >> $GITHUB_ENV
56
+
57
+ - uses : actions/checkout@v4
58
+ with :
59
+ ref : ${{ github.event.pull_request.head.sha }}
60
+ persist-credentials : false
61
+
62
+ - name : Set up QEMU
63
+ uses : docker/setup-qemu-action@v3
64
+ - name : Set up Docker Buildx
65
+ id : buildx
66
+ uses : docker/setup-buildx-action@v3
67
+ - name : Builder instance name
68
+ run : echo ${{ steps.buildx.outputs.name }}
69
+ - name : Available platforms
70
+ run : echo ${{ steps.buildx.outputs.platforms }}
71
+
72
+ - name : Login to GitHub Container Registry
73
+ uses : docker/login-action@v3
74
+ with :
75
+ registry : ghcr.io
76
+ username : traptitech
77
+ password : ${{ secrets.GITHUB_TOKEN }}
78
+
79
+ - name : Build
80
+ uses : docker/build-push-action@v6
81
+ with :
82
+ context : sablier
83
+ platforms : linux/amd64,linux/arm64
84
+ push : true
85
+ tags : ghcr.io/traptitech/ns-sablier:preview-${{ env.PR_NUMBER }}-${{ github.event.pull_request.head.sha }}
86
+ cache-from : type=registry,ref=ghcr.io/traptitech/ns-sablier:buildcache
Original file line number Diff line number Diff line change @@ -128,12 +128,49 @@ jobs:
128
128
ghcr.io/traptitech/ns-dashboard:${{ env.APP_VERSION }}
129
129
cache-from : type=registry,ref=ghcr.io/traptitech/ns-dashboard:buildcache
130
130
131
+ build-sablier-image :
132
+ name : Build Sablier Image
133
+ runs-on : ubuntu-latest
134
+ steps :
135
+ - uses : actions/checkout@v4
136
+ - name : Set APP_VERSION env
137
+ run : echo "APP_VERSION=$(echo ${GITHUB_REF:11})" >> $GITHUB_ENV
138
+
139
+ - name : Set up QEMU
140
+ uses : docker/setup-qemu-action@v3
141
+ - name : Set up Docker Buildx
142
+ id : buildx
143
+ uses : docker/setup-buildx-action@v3
144
+ - name : Builder instance name
145
+ run : echo ${{ steps.buildx.outputs.name }}
146
+ - name : Available platforms
147
+ run : echo ${{ steps.buildx.outputs.platforms }}
148
+
149
+ - name : Login to GitHub Container Registry
150
+ uses : docker/login-action@v3
151
+ with :
152
+ registry : ghcr.io
153
+ username : traptitech
154
+ password : ${{ secrets.GITHUB_TOKEN }}
155
+
156
+ - name : Build
157
+ uses : docker/build-push-action@v6
158
+ with :
159
+ context : sablier
160
+ platforms : linux/amd64,linux/arm64
161
+ push : true
162
+ tags : |
163
+ ghcr.io/traptitech/ns-sablier:latest
164
+ ghcr.io/traptitech/ns-sablier:${{ env.APP_VERSION }}
165
+ cache-from : type=registry,ref=ghcr.io/traptitech/ns-sablier:buildcache
166
+
131
167
dispatch-renovate :
132
168
name : Dispatch Renovate
133
169
runs-on : ubuntu-latest
134
170
needs :
135
171
- build-component-images
136
172
- build-dashboard-image
173
+ - build-sablier-image
137
174
steps :
138
175
- uses : actions/github-script@v7
139
176
with :
Original file line number Diff line number Diff line change 30
30
subPath : .local-dev/config/sablier.yaml
31
31
mountPath : /etc/sablier/sablier.yaml
32
32
- name : project
33
- subPath : dashboard/ sablier-theme
33
+ subPath : sablier/themes
34
34
mountPath : /etc/sablier/themes
Original file line number Diff line number Diff line change @@ -397,7 +397,7 @@ services:
397
397
volumes :
398
398
- /var/run/docker.sock:/var/run/docker.sock
399
399
- ./.local-dev/config/sablier.yaml:/etc/sablier/sablier.yaml
400
- - ./dashboard/ sablier-theme :/etc/sablier/themes
400
+ - ./sablier/themes :/etc/sablier/themes
401
401
402
402
traefik :
403
403
image : traefik:3.1
Original file line number Diff line number Diff line change
1
+ FROM sablierapp/sablier:1.8.2
2
+
3
+ COPY ./themes /etc/sablier/themes
File renamed without changes.
You can’t perform that action at this time.
0 commit comments