-
Notifications
You must be signed in to change notification settings - Fork 32
763 lines (673 loc) Β· 22.3 KB
/
ci-cd.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
name: Continuous Integration & Deployment
on: [push]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
packages: write
jobs:
api-test:
name: "API π‘ - test π§ͺ"
runs-on: ubuntu-latest
env:
RAILS_ENV: test
TEST_DATABASE_URL: mysql2://root:dolos@127.0.0.1:3306/dolos_test
services:
mysql:
image: mariadb
env:
MARIADB_ROOT_PASSWORD: dolos
MARIADB_DATABASE: dolos_test
MARIADB_HOST: localhost
MARIADB_MYSQL_LOCALHOST_USER: 1
MARIADB_MYSQL_LOCALHOST_GRANTS: USAGE
ports:
- 3306:3306
options: --health-cmd="healthcheck.sh --su-mysql --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=5
steps:
- name: Checkout ποΈ
uses: actions/checkout@v4
- name: Setup Ruby π
uses: ruby/setup-ruby@v1
with:
working-directory: api/
bundler-cache: true
- name: Run tests π§ͺ
run: |
cd api/
docker pull ghcr.io/dodona-edu/dolos-cli:latest
bundle exec rails db:prepare
bundle exec rails test
api-lint:
name: "API π‘ - lint π"
runs-on: ubuntu-latest
steps:
- name: Checkout ποΈ
uses: actions/checkout@v4
- name: Setup Ruby π
uses: ruby/setup-ruby@v1
with:
working-directory: api/
bundler-cache: true
- name: Run rubocop π
run: |
cd api/
bundle exec rubocop
install-deps:
name: Install (Node ${{ matrix.node }}) β‘οΈ
runs-on: ubuntu-latest
strategy:
matrix:
node: [ "18", "20", "22" ]
fail-fast: false
steps:
- name: Checkout ποΈ
uses: actions/checkout@v4
with:
submodules: true
- name: Cache npm dependencies
id: cache-dependencies
uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/node_modules
${{ github.workspace }}/*/node_modules
${{ github.workspace }}/parsers/build
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('./package-lock.json', './package.json', './*/package.json', './parsers/binding.gyp', './.gitmodules') }}
- name: Setup Node π
if: steps.cache-dependencies.outputs.cache-hit != 'true'
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Npm install β‘οΈ
if: steps.cache-dependencies.outputs.cache-hit != 'true'
run: npm install
cli-build:
name: "CLI π»οΈ - build π§"
runs-on: ubuntu-latest
needs: install-deps
strategy:
matrix:
node: [ "18", "20", "22" ]
fail-fast: false
steps:
- name: Checkout ποΈ
uses: actions/checkout@v4
with:
submodules: true
- name: Setup Node π
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Fetch Dependencies β‘οΈ
id: cache-dependencies
uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/node_modules
${{ github.workspace }}/*/node_modules
${{ github.workspace }}/parsers/build
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('./package-lock.json', './package.json', './*/package.json', './parsers/binding.gyp', './.gitmodules') }}
- name: Check if cache was hit π
if: steps.cache-dependencies.outputs.cache-hit != 'true'
run: |
echo "Should have hit cache"
false
- name: Build π§
run: |
cd cli/
npm run build -- --force
cli-lint:
name: "CLI π»οΈ - lint π"
runs-on: ubuntu-latest
needs: install-deps
strategy:
matrix:
node: [ "22" ]
fail-fast: false
steps:
- name: Checkout ποΈ
uses: actions/checkout@v4
- name: Setup Node π
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Fetch Dependencies β‘οΈ
id: cache-dependencies
uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/node_modules
${{ github.workspace }}/*/node_modules
${{ github.workspace }}/parsers/build
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('./package-lock.json', './package.json', './*/package.json', './parsers/binding.gyp', './.gitmodules') }}
- name: Check if cache was hit π
if: steps.cache-dependencies.outputs.cache-hit != 'true'
run: |
echo "Should have hit cache"
false
- name: Lint π
run: |
cd cli/
npm run lint
core-build-test:
name: "Core β€οΈ - build & test π§"
runs-on: ubuntu-latest
needs: install-deps
strategy:
matrix:
node: [ "18", "20", "22" ]
fail-fast: false
steps:
- name: Checkout ποΈ
uses: actions/checkout@v4
- name: Setup Node π
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Fetch Dependencies β‘οΈ
id: cache-dependencies
uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/node_modules
${{ github.workspace }}/*/node_modules
${{ github.workspace }}/parsers/build
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('./package-lock.json', './package.json', './*/package.json', './parsers/binding.gyp', './.gitmodules') }}
- name: Check if cache was hit π
if: steps.cache-dependencies.outputs.cache-hit != 'true'
run: |
echo "Should have hit cache"
false
- name: Build & test π§
run: |
cd core/
npm run build
npm run test -- -v --serial
core-lint:
name: "Core β€οΈ - lint π"
runs-on: ubuntu-latest
needs: install-deps
strategy:
matrix:
node: [ "22" ]
fail-fast: false
steps:
- name: Checkout ποΈ
uses: actions/checkout@v4
- name: Setup Node π
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Fetch Dependencies β‘οΈ
id: cache-dependencies
uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/node_modules
${{ github.workspace }}/*/node_modules
${{ github.workspace }}/parsers/build
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('./package-lock.json', './package.json', './*/package.json', './parsers/binding.gyp', './.gitmodules') }}
- name: Check if cache was hit π
if: steps.cache-dependencies.outputs.cache-hit != 'true'
run: |
echo "Should have hit cache"
false
- name: Lint π
run: |
cd core/
npm run lint
lib-build-test:
name: "Lib π - build & test π§"
runs-on: ubuntu-latest
needs: install-deps
strategy:
matrix:
node: [ "18", "20", "22" ]
fail-fast: false
steps:
- name: Checkout ποΈ
uses: actions/checkout@v4
with:
submodules: true
- name: Setup Node π
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Fetch Dependencies β‘οΈ
id: cache-dependencies
uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/node_modules
${{ github.workspace }}/*/node_modules
${{ github.workspace }}/parsers/build
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('./package-lock.json', './package.json', './*/package.json', './parsers/binding.gyp', './.gitmodules') }}
- name: Check if cache was hit π
if: steps.cache-dependencies.outputs.cache-hit != 'true'
run: |
echo "Should have hit cache"
false
- name: Build & test π§
run: |
cd lib/
npm run build
npm run test -- -v --serial
parsers-build:
name: "Parsers π - build π§"
runs-on: ubuntu-latest
needs: install-deps
strategy:
matrix:
node: [ "18", "20", "22" ]
fail-fast: false
steps:
- name: Checkout ποΈ
uses: actions/checkout@v4
with:
submodules: true
- name: Setup Node π
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Fetch Dependencies β‘οΈ
id: cache-dependencies
uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/node_modules
${{ github.workspace }}/*/node_modules
${{ github.workspace }}/parsers/build
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('./package-lock.json', './package.json', './*/package.json', './parsers/binding.gyp', './.gitmodules') }}
- name: Check if cache was hit π
if: steps.cache-dependencies.outputs.cache-hit != 'true'
run: |
echo "Should have hit cache"
false
- name: Build π§
run: |
cd parsers/
npm run build
lib-lint:
name: "Lib π - lint π"
runs-on: ubuntu-latest
needs: install-deps
strategy:
matrix:
node: [ "22" ]
fail-fast: false
steps:
- name: Checkout ποΈ
uses: actions/checkout@v4
- name: Setup Node π
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Fetch Dependencies β‘οΈ
id: cache-dependencies
uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/node_modules
${{ github.workspace }}/*/node_modules
${{ github.workspace }}/parsers/build
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('./package-lock.json', './package.json', './*/package.json', './parsers/binding.gyp', './.gitmodules') }}
- name: Check if cache was hit π
if: steps.cache-dependencies.outputs.cache-hit != 'true'
run: |
echo "Should have hit cache"
false
- name: Lint π
run: |
cd lib/
npm run lint
web-build-deploy:
name: "Web π - build & deploy π§"
runs-on: ubuntu-latest
needs: install-deps
strategy:
matrix:
node: [ "22" ]
fail-fast: false
steps:
- name: Checkout ποΈ
uses: actions/checkout@v4
with:
submodules: true
- name: Setup Node π
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Fetch Dependencies β‘οΈ
id: cache-dependencies
uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/node_modules
${{ github.workspace }}/*/node_modules
${{ github.workspace }}/parsers/build
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('./package-lock.json', './package.json', './*/package.json', './parsers/binding.gyp', './.gitmodules') }}
- name: Check if cache was hit π
if: steps.cache-dependencies.outputs.cache-hit != 'true'
run: |
echo "Should have hit cache"
false
- name: Build core π§
run: |
cd core/
npm run build
- name: Build web π§
run: |
cd web/
npm run build
- name: Deploy to staging π
run: |
if [ -n "$KNOWN_HOSTS" ]; then
cd web/
mkdir -p ~/.ssh
echo "$SSH_KEY" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
echo "$KNOWN_HOSTS" > ~/.ssh/known_hosts
chmod 600 ~/.ssh/known_hosts
mkdir -p "deploy/$REF"
cp -a dist/. "deploy/$REF"
rsync -glpPrtvz \
--relative \
--delete \
-e 'ssh -p 4840' \
"deploy/./$REF" \
"dodona@dolos.ugent.be:web/"
else
echo "Skipping deploy because secrets are not available"
fi
env:
SSH_KEY: ${{ secrets.SSH_KEY }}
KNOWN_HOSTS: ${{ secrets.KNOWN_HOSTS }}
REF: ${{ github.ref_name }}
web-lint:
name: "Web π - lint π"
runs-on: ubuntu-latest
needs: install-deps
strategy:
matrix:
node: [ "22" ]
fail-fast: false
steps:
- name: Checkout ποΈ
uses: actions/checkout@v4
- name: Setup Node π
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Fetch Dependencies β‘οΈ
id: cache-dependencies
uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/node_modules
${{ github.workspace }}/*/node_modules
${{ github.workspace }}/parsers/build
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('./package-lock.json', './package.json', './*/package.json', './parsers/binding.gyp', './.gitmodules') }}
- name: Check if cache was hit π
if: steps.cache-dependencies.outputs.cache-hit != 'true'
run: |
echo "Should have hit cache"
false
- name: Lint π
run: |
cd web/
npm run lint
docs:
name: "Docs π"
runs-on: ubuntu-latest
needs: install-deps
strategy:
matrix:
node: [ "22" ]
fail-fast: false
steps:
- name: Checkout ποΈ
uses: actions/checkout@v4
- name: Setup Node π
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Build π§
run: |
cd docs/
npm install
npm run build
- name: Deploy π
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
run: |
if [ -n "$KNOWN_HOSTS" ]; then
cd docs/
mkdir -p ~/.ssh
echo "$SSH_KEY" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
echo "$KNOWN_HOSTS" > ~/.ssh/known_hosts
chmod 600 ~/.ssh/known_hosts
rsync -glpPrtvz \
--delete \
-e 'ssh -p 4840' \
.vitepress/dist/ \
dodona@dolos.ugent.be:docs
else
echo "Skipping deploy because secrets are not available"
fi
env:
SSH_KEY: ${{ secrets.SSH_KEY }}
KNOWN_HOSTS: ${{ secrets.KNOWN_HOSTS }}
publish:
name: "Publish packages on NPM π¦"
runs-on: ubuntu-latest
needs: install-deps
if: startsWith(github.ref, 'refs/tags/v')
strategy:
matrix:
node: [ "22" ]
fail-fast: false
steps:
- name: Checkout ποΈ
uses: actions/checkout@v4
with:
submodules: true
- name: Setup Node π
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Fetch Dependencies β‘οΈ
id: cache-dependencies
uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/node_modules
${{ github.workspace }}/*/node_modules
${{ github.workspace }}/parsers/build
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('./package-lock.json', './package.json', './*/package.json', './parsers/binding.gyp', './.gitmodules') }}
- name: Check if cache was hit π
if: steps.cache-dependencies.outputs.cache-hit != 'true'
run: |
echo "Should have hit cache"
false
- name: Parse tag
id: parse_tag
run: "echo ${{ github.ref }} | sed 's#^refs/tags/#version=#' >> $GITHUB_OUTPUT"
- name: Draft release
id: create_release
uses: release-drafter/release-drafter@v6
with:
name: ${{ steps.parse_tag.outputs.version }}
tag: ${{ steps.parse_tag.outputs.version }}
version: ${{ steps.parse_tag.outputs.version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build core π§
run: |
cd core/
npm run build
- name: Build parsers π§
run: |
cd parsers/
npm run build
- name: Build lib π§
run: |
cd lib/
npm run build
- name: Build CLI π§
run: |
cd cli/
npm run build -- --force
- name: Build web π§
run: |
cd web/
npm run build
- name: Publish @dodona/dolos-core to NPM
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_AUTH_TOKEN }}
package: ./core/package.json
strategy: all
access: public
- name: Publish @dodona/dolos-parsers to NPM
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_AUTH_TOKEN }}
package: ./parsers/package.json
strategy: all
access: public
- name: Publish @dodona/dolos-lib to NPM
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_AUTH_TOKEN }}
package: ./lib/package.json
strategy: all
access: public
- name: Publish @dodona/dolos-web to NPM
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_AUTH_TOKEN }}
package: ./web/package.json
strategy: all
access: public
- name: Publish @dodona/dolos to NPM
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_AUTH_TOKEN }}
package: ./cli/package.json
strategy: all
access: public
demo:
name: "Publish demo π"
needs: publish
runs-on: ubuntu-latest
strategy:
matrix:
node: [ "22" ]
fail-fast: false
steps:
- name: Setup Node π
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install dolos
run: |
npm install -g @dodona/dolos
dolos --version
- name: Setup SSH
run: |
mkdir -p ~/.ssh
echo "$SSH_KEY" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
echo "$KNOWN_HOSTS" > ~/.ssh/known_hosts
chmod 600 ~/.ssh/known_hosts
env:
SSH_KEY: ${{ secrets.SSH_KEY }}
KNOWN_HOSTS: ${{ secrets.KNOWN_HOSTS }}
- name: Prepare analysis
run: |
mkdir analysis
cd analysis
rsync \
-e 'ssh -p 4840' \
dodona@dolos.ugent.be:demo-datasets.zip \
.
unzip demo-datasets.zip
- name: Run analysis on samples
run: |
cd analysis
dolos -l javascript -f csv -o samples-results samples/info.csv
- name: Run analysis on SOCO Java
run: |
cd analysis
dolos -l java -f csv -o java-results soco/java-labels.csv
- name: Run analysis on SOCO C
run: |
cd analysis
dolos -l c -f csv -o c-results soco/c-labels.csv
- name: Run analysis on Pyramidal constants exercise
run: |
cd analysis
dolos -l python -f csv -o pyramidal-exercise-results "exercise - Pyramidal constants/info.csv"
- name: Run analysis on Pyramidal constants evaluation
run: |
cd analysis
dolos -l python -f csv -o pyramidal-evaluation-results "evaluation - Pyramidal constants/info.csv"
- name: Deploy results to demo site
run: |
cd analysis
npm pack @dodona/dolos-web
tar xzf dodona-dolos-web-*.tgz
mkdir -p demo/sample
mkdir -p demo/soco
mkdir -p demo/pyramidal-constants/exercise
mkdir -p demo/pyramidal-constants/evaluation
cp -r package/dist/. demo/sample
cp -r package/dist/. demo/soco/java
cp -r package/dist/. demo/soco/c
cp -r package/dist/. demo/pyramidal-constants/exercise
cp -r package/dist/. demo/pyramidal-constants/evaluation
cp -r samples-results demo/sample/data
cp -r java-results demo/soco/java/data
cp -r c-results demo/soco/c/data
cp -r pyramidal-exercise-results demo/pyramidal-constants/exercise/data
cp -r pyramidal-evaluation-results demo/pyramidal-constants/evaluation/data
rsync -glpPrtvz \
-e 'ssh -p 4840' \
demo/ \
dodona@dolos.ugent.be:demo
docker:
name: "Publish docker containers π’"
needs: publish
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- name: Checkout ποΈ
uses: actions/checkout@v4
with:
submodules: true
- name: Setup Node π
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Parse tag (without v)
id: parse_tag
run: "echo ${{ github.ref }} | sed 's#^refs/tags/v#version=#' >> $GITHUB_OUTPUT"
- name: Build the Dolos images
run: |
docker build docker/ -t ghcr.io/dodona-edu/dolos-cli:${{ steps.parse_tag.outputs.version }}
docker build web/ -t ghcr.io/dodona-edu/dolos-web:${{ steps.parse_tag.outputs.version }}
docker build api/ -t ghcr.io/dodona-edu/dolos-api:${{ steps.parse_tag.outputs.version }}
- name: Login to the container registry
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
- name: Tag the new images with latest
run: |
docker tag ghcr.io/dodona-edu/dolos-cli:${{ steps.parse_tag.outputs.version }} ghcr.io/dodona-edu/dolos-cli:latest
docker tag ghcr.io/dodona-edu/dolos-web:${{ steps.parse_tag.outputs.version }} ghcr.io/dodona-edu/dolos-web:latest
docker tag ghcr.io/dodona-edu/dolos-api:${{ steps.parse_tag.outputs.version }} ghcr.io/dodona-edu/dolos-api:latest
- name: Push the images
run: |
docker push --all-tags ghcr.io/dodona-edu/dolos-cli
docker push --all-tags ghcr.io/dodona-edu/dolos-web
docker push --all-tags ghcr.io/dodona-edu/dolos-api