Skip to content

Commit 275cbd9

Browse files
MatMaulmcalinghee
authored andcommitted
Update build.yaml for Tchap
1 parent 0629915 commit 275cbd9

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/build.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ name: Build
88
on:
99
push:
1010
branches:
11-
- main
11+
- main_tchap
1212
- "release/**"
13+
- "test/**"
1314
tags:
1415
- "v*"
1516

@@ -27,8 +28,8 @@ env:
2728
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
2829
SCCACHE_GHA_ENABLED: "true"
2930
RUSTC_WRAPPER: "sccache"
30-
IMAGE: ghcr.io/element-hq/matrix-authentication-service
31-
BUILDCACHE: ghcr.io/element-hq/matrix-authentication-service/buildcache
31+
IMAGE: ghcr.io/tchapgouv/matrix-authentication-service
32+
BUILDCACHE: ghcr.io/tchapgouv/matrix-authentication-service/buildcache
3233
DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index
3334

3435
jobs:
@@ -300,7 +301,7 @@ jobs:
300301
# Only sign on tags and on commits on main branch
301302
if: |
302303
github.event_name != 'pull_request'
303-
&& (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
304+
&& (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main_tchap')
304305
305306
env:
306307
REGULAR_DIGEST: ${{ steps.output.outputs.metadata && fromJSON(steps.output.outputs.metadata).regular.digest }}
@@ -364,7 +365,7 @@ jobs:
364365

365366
unstable:
366367
name: Update the unstable release
367-
if: github.ref == 'refs/heads/main'
368+
if: github.ref == 'refs/heads/main_tchap'
368369
runs-on: ubuntu-24.04
369370

370371
needs:

0 commit comments

Comments
 (0)