File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change @@ -496,3 +496,53 @@ jobs:
496
496
uses : ./
497
497
with :
498
498
cleanup : ${{ matrix.cleanup }}
499
+
500
+ k3s :
501
+ runs-on : ubuntu-20.04
502
+ strategy :
503
+ fail-fast : false
504
+ matrix :
505
+ version :
506
+ - v0.11.0-rc1
507
+ - v0.10.5
508
+ steps :
509
+ -
510
+ name : Checkout
511
+ uses : actions/checkout@v3
512
+ -
513
+ name : Install k3s
514
+ uses : crazy-max/.github/.github/actions/install-k3s@605d30d5ae97f6680578ace4b56645af79343e60
515
+ with :
516
+ version : " v1.21.2-k3s1"
517
+ -
518
+ name : Set up Docker Buildx
519
+ id : buildx
520
+ uses : ./
521
+ with :
522
+ version : ${{ matrix.version }}
523
+ driver : kubernetes
524
+ platforms : linux/amd64
525
+ driver-opts : |
526
+ image=moby/buildkit:buildx-stable-1
527
+ qemu.install=true
528
+ append : |
529
+ - platforms: linux/arm64
530
+ driver-opts:
531
+ - image=moby/buildkit:buildx-stable-1
532
+ - qemu.install=true
533
+ - platforms: linux/s390x
534
+ driver-opts:
535
+ - image=moby/buildkit:buildx-stable-1
536
+ - qemu.install=true
537
+ -
538
+ name : Create Dockerfile
539
+ run : |
540
+ cat > ./Dockerfile <<EOL
541
+ FROM alpine
542
+ RUN uname -a
543
+ EOL
544
+ -
545
+ name : Build
546
+ uses : docker/build-push-action@master
547
+ with :
548
+ context : .
You can’t perform that action at this time.
0 commit comments