Skip to content
This repository was archived by the owner on Feb 12, 2025. It is now read-only.

Commit fc9d762

Browse files
Update CI with github package credentials
1 parent fb131df commit fc9d762

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

.circleci/config.yml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ dependencies:
55
- ~/cmake-3.16.5
66
linux_job: &linux_job
77
docker:
8-
- image: docker.pkg.github.com/ledgerhq/lib-ledger-core-build-env/lib-ledger-core-build-env:sha-118471e
8+
- image: docker.pkg.github.com/ledgerhq/lib-ledger-core-build-env/lib-ledger-core-build-env:1.0.1
9+
auth:
10+
username: $DOCKER_USERNAME
11+
password: $DOCKER_PASSWORD
912
jobs:
1013
build_linux_release:
1114
<<: *linux_job
@@ -349,44 +352,57 @@ jobs:
349352
rsync -e "ssh -o StrictHostKeyChecking=no" -a --chown :www-data --delete
350353
build/doc/html/ [email protected]:.
351354
355+
default_context: &default_context
356+
context:
357+
- githubpkg
358+
359+
352360
workflows:
353361
version: 2
354362
build:
355363
jobs:
356364
- build_linux_release:
365+
<<: *default_context
357366
filters:
358367
tags:
359368
only: /.*/
360369
- build_linux_jni_release:
370+
<<: *default_context
361371
filters:
362372
tags:
363373
only: /.*/
364374
branches:
365375
only: /^(?!pull\/).*$/
366376
- build_android_release:
377+
<<: *default_context
367378
filters:
368379
tags:
369380
only: /.*/
370381
branches:
371382
only: /^(?!pull\/).*$/
372383
- build_macos_release:
384+
<<: *default_context
373385
filters:
374386
tags:
375387
only: /.*/
376388
- build_macos_ios_release:
389+
<<: *default_context
377390
filters:
378391
tags:
379392
only: /.*/
380393
branches:
381394
only: /^(?!pull\/).*$/
382395
- build_macos_jni_release:
396+
<<: *default_context
383397
filters:
384398
tags:
385399
only: /.*/
386400
branches:
387401
only: /^(?!pull\/).*$/
388-
- build_linux_debug
389-
- build_macos_debug
402+
- build_linux_debug:
403+
<<: *default_context
404+
- build_macos_debug:
405+
<<: *default_context
390406
- publish_jar:
391407
requires:
392408
- build_linux_jni_release

0 commit comments

Comments
 (0)