Skip to content

Commit f2ed3ee

Browse files
committed
to-nonroot builds failed on trying to pull from docker.io
1 parent 2b211da commit f2ed3ee

File tree

2 files changed

+28
-30
lines changed

2 files changed

+28
-30
lines changed

.github/workflows/images.yaml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ jobs:
459459
type=gha,scope=buildx-homedir
460460
cache-to: type=gha,mode=max,scope=buildx-homedir-latest
461461
build-contexts: |
462-
yolean/homedir=docker-image://ghcr.io/yolean/homedir:root
462+
yolean/homedir:root=docker-image://ghcr.io/yolean/homedir:root
463463
continue-on-error: false
464464
timeout-minutes: 45
465465
-
@@ -501,7 +501,7 @@ jobs:
501501
type=gha,scope=buildx-java
502502
cache-to: type=gha,mode=max,scope=buildx-java-latest
503503
build-contexts: |
504-
yolean/java=docker-image://ghcr.io/yolean/java:root
504+
yolean/java:root=docker-image://ghcr.io/yolean/java:root
505505
continue-on-error: false
506506
timeout-minutes: 45
507507
-
@@ -543,7 +543,7 @@ jobs:
543543
type=gha,scope=buildx-node
544544
cache-to: type=gha,mode=max,scope=buildx-node-latest
545545
build-contexts: |
546-
yolean/node=docker-image://ghcr.io/yolean/node:root
546+
yolean/node:root=docker-image://ghcr.io/yolean/node:root
547547
continue-on-error: false
548548
timeout-minutes: 45
549549
-
@@ -565,7 +565,7 @@ jobs:
565565
type=gha,scope=buildx-node-kafka
566566
cache-to: type=gha,mode=max,scope=buildx-node-kafka-root
567567
build-contexts: |
568-
yolean/node=docker-image://ghcr.io/yolean/node:root
568+
yolean/node:root=docker-image://ghcr.io/yolean/node:root
569569
continue-on-error: false
570570
timeout-minutes: 45
571571
-
@@ -587,7 +587,7 @@ jobs:
587587
type=gha,scope=buildx-node-kafka
588588
cache-to: type=gha,mode=max,scope=buildx-node-kafka-latest
589589
build-contexts: |
590-
yolean/node-kafka=docker-image://ghcr.io/yolean/node-kafka:root
590+
yolean/node-kafka:root=docker-image://ghcr.io/yolean/node-kafka:root
591591
continue-on-error: false
592592
timeout-minutes: 45
593593
-
@@ -609,7 +609,7 @@ jobs:
609609
type=gha,scope=buildx-node-kafka-cache
610610
cache-to: type=gha,mode=max,scope=buildx-node-kafka-cache-root
611611
build-contexts: |
612-
yolean/node-kafka=docker-image://ghcr.io/yolean/node-kafka:root
612+
yolean/node-kafka:root=docker-image://ghcr.io/yolean/node-kafka:root
613613
continue-on-error: false
614614
timeout-minutes: 45
615615
-
@@ -631,7 +631,7 @@ jobs:
631631
type=gha,scope=buildx-node-kafka-cache
632632
cache-to: type=gha,mode=max,scope=buildx-node-kafka-cache-latest
633633
build-contexts: |
634-
yolean/node-kafka-cache=docker-image://ghcr.io/yolean/node-kafka-cache:root
634+
yolean/node-kafka-cache:root=docker-image://ghcr.io/yolean/node-kafka-cache:root
635635
continue-on-error: false
636636
timeout-minutes: 45
637637
-
@@ -653,7 +653,7 @@ jobs:
653653
type=gha,scope=buildx-node-kafka-sqlite
654654
cache-to: type=gha,mode=max,scope=buildx-node-kafka-sqlite-root
655655
build-contexts: |
656-
yolean/node-kafka=docker-image://ghcr.io/yolean/node-kafka:root
656+
yolean/node-kafka:root=docker-image://ghcr.io/yolean/node-kafka:root
657657
continue-on-error: false
658658
timeout-minutes: 45
659659
-
@@ -675,7 +675,7 @@ jobs:
675675
type=gha,scope=buildx-node-kafka-sqlite
676676
cache-to: type=gha,mode=max,scope=buildx-node-kafka-sqlite-latest
677677
build-contexts: |
678-
yolean/node-kafka-sqlite=docker-image://ghcr.io/yolean/node-kafka-sqlite:root
678+
yolean/node-kafka-sqlite:root=docker-image://ghcr.io/yolean/node-kafka-sqlite:root
679679
continue-on-error: false
680680
timeout-minutes: 45
681681
-
@@ -717,7 +717,7 @@ jobs:
717717
type=gha,scope=buildx-node-watchexec
718718
cache-to: type=gha,mode=max,scope=buildx-node-watchexec-latest
719719
build-contexts: |
720-
yolean/node-watchexec=docker-image://ghcr.io/yolean/node-watchexec:root
720+
yolean/node-watchexec:root=docker-image://ghcr.io/yolean/node-watchexec:root
721721
continue-on-error: false
722722
timeout-minutes: 45
723723
-
@@ -739,8 +739,8 @@ jobs:
739739
type=gha,scope=buildx-node-kafka-watch
740740
cache-to: type=gha,mode=max,scope=buildx-node-kafka-watch-root
741741
build-contexts: |
742-
yolean/node-watchexec=docker-image://ghcr.io/yolean/node-watchexec:root
743-
yolean/node-kafka=docker-image://ghcr.io/yolean/node-kafka:root
742+
yolean/node-watchexec:root=docker-image://ghcr.io/yolean/node-watchexec:root
743+
yolean/node-kafka:root=docker-image://ghcr.io/yolean/node-kafka:root
744744
continue-on-error: false
745745
timeout-minutes: 45
746746
-
@@ -762,7 +762,7 @@ jobs:
762762
type=gha,scope=buildx-node-kafka-watch
763763
cache-to: type=gha,mode=max,scope=buildx-node-kafka-watch-latest
764764
build-contexts: |
765-
yolean/node-kafka-watch=docker-image://ghcr.io/yolean/node-kafka-watch:root
765+
yolean/node-kafka-watch:root=docker-image://ghcr.io/yolean/node-kafka-watch:root
766766
continue-on-error: false
767767
timeout-minutes: 45
768768
-
@@ -784,7 +784,7 @@ jobs:
784784
type=gha,scope=buildx-node-gcloud
785785
cache-to: type=gha,mode=max,scope=buildx-node-gcloud-root
786786
build-contexts: |
787-
yolean/node=docker-image://ghcr.io/yolean/node:root
787+
yolean/node:root=docker-image://ghcr.io/yolean/node:root
788788
continue-on-error: false
789789
timeout-minutes: 45
790790
-
@@ -806,7 +806,7 @@ jobs:
806806
type=gha,scope=buildx-node-gcloud
807807
cache-to: type=gha,mode=max,scope=buildx-node-gcloud-latest
808808
build-contexts: |
809-
yolean/node-gcloud=docker-image://ghcr.io/yolean/node-gcloud:root
809+
yolean/node-gcloud:root=docker-image://ghcr.io/yolean/node-gcloud:root
810810
continue-on-error: false
811811
timeout-minutes: 45
812812
-
@@ -828,7 +828,7 @@ jobs:
828828
type=gha,scope=buildx-node-vitest
829829
cache-to: type=gha,mode=max,scope=buildx-node-vitest-root
830830
build-contexts: |
831-
yolean/node=docker-image://ghcr.io/yolean/node:root
831+
yolean/node:root=docker-image://ghcr.io/yolean/node:root
832832
continue-on-error: false
833833
timeout-minutes: 45
834834
-
@@ -850,7 +850,7 @@ jobs:
850850
type=gha,scope=buildx-node-vitest
851851
cache-to: type=gha,mode=max,scope=buildx-node-vitest-latest
852852
build-contexts: |
853-
yolean/node-vitest=docker-image://ghcr.io/yolean/node-vitest:root
853+
yolean/node-vitest:root=docker-image://ghcr.io/yolean/node-vitest:root
854854
continue-on-error: false
855855
timeout-minutes: 45
856856
-
@@ -894,7 +894,7 @@ jobs:
894894
type=gha,scope=buildx-runtime-quarkus-ubuntu
895895
cache-to: type=gha,mode=max,scope=buildx-runtime-quarkus-ubuntu-latest
896896
build-contexts: |
897-
yolean/runtime-quarkus-ubuntu=docker-image://ghcr.io/yolean/runtime-quarkus-ubuntu:root
897+
yolean/runtime-quarkus-ubuntu:root=docker-image://ghcr.io/yolean/runtime-quarkus-ubuntu:root
898898
continue-on-error: false
899899
timeout-minutes: 45
900900
-
@@ -939,7 +939,7 @@ jobs:
939939
type=gha,scope=buildx-runtime-quarkus-deno
940940
cache-to: type=gha,mode=max,scope=buildx-runtime-quarkus-deno-latest
941941
build-contexts: |
942-
yolean/runtime-quarkus-deno=docker-image://ghcr.io/yolean/runtime-quarkus-deno:root
942+
yolean/runtime-quarkus-deno:root=docker-image://ghcr.io/yolean/runtime-quarkus-deno:root
943943
continue-on-error: false
944944
timeout-minutes: 45
945945
-
@@ -961,8 +961,8 @@ jobs:
961961
type=gha,scope=buildx-runtime-quarkus-ubuntu-jre
962962
cache-to: type=gha,mode=max,scope=buildx-runtime-quarkus-ubuntu-jre-root
963963
build-contexts: |
964-
yolean/java=docker-image://ghcr.io/yolean/java:root
965-
yolean/runtime-quarkus-ubuntu=docker-image://ghcr.io/yolean/runtime-quarkus-ubuntu:root
964+
yolean/java:root=docker-image://ghcr.io/yolean/java:root
965+
yolean/runtime-quarkus-ubuntu:root=docker-image://ghcr.io/yolean/runtime-quarkus-ubuntu:root
966966
continue-on-error: false
967967
timeout-minutes: 45
968968
-
@@ -984,7 +984,7 @@ jobs:
984984
type=gha,scope=buildx-runtime-quarkus-ubuntu-jre
985985
cache-to: type=gha,mode=max,scope=buildx-runtime-quarkus-ubuntu-jre-latest
986986
build-contexts: |
987-
yolean/runtime-quarkus-ubuntu-jre=docker-image://ghcr.io/yolean/runtime-quarkus-ubuntu-jre:root
987+
yolean/runtime-quarkus-ubuntu-jre:root=docker-image://ghcr.io/yolean/runtime-quarkus-ubuntu-jre:root
988988
continue-on-error: false
989989
timeout-minutes: 45
990990
-
@@ -1007,7 +1007,7 @@ jobs:
10071007
cache-to: type=gha,mode=max,scope=buildx-runtime-quarkus-dev-root
10081008
build-contexts: |
10091009
yolean/builder-quarkus=docker-image://ghcr.io/yolean/builder-quarkus
1010-
yolean/runtime-quarkus-ubuntu=docker-image://ghcr.io/yolean/runtime-quarkus-ubuntu:root
1010+
yolean/runtime-quarkus-ubuntu:root=docker-image://ghcr.io/yolean/runtime-quarkus-ubuntu:root
10111011
continue-on-error: false
10121012
timeout-minutes: 45
10131013
-
@@ -1029,7 +1029,7 @@ jobs:
10291029
type=gha,scope=buildx-runtime-quarkus-dev
10301030
cache-to: type=gha,mode=max,scope=buildx-runtime-quarkus-dev-latest
10311031
build-contexts: |
1032-
yolean/runtime-quarkus-dev=docker-image://ghcr.io/yolean/runtime-quarkus-dev:root
1032+
yolean/runtime-quarkus-dev:root=docker-image://ghcr.io/yolean/runtime-quarkus-dev:root
10331033
continue-on-error: false
10341034
timeout-minutes: 45
10351035
-
@@ -1074,7 +1074,7 @@ jobs:
10741074
type=gha,scope=buildx-toil-storage
10751075
cache-to: type=gha,mode=max,scope=buildx-toil-storage-latest
10761076
build-contexts: |
1077-
yolean/toil-storage=docker-image://ghcr.io/yolean/toil-storage:root
1077+
yolean/toil-storage:root=docker-image://ghcr.io/yolean/toil-storage:root
10781078
continue-on-error: false
10791079
timeout-minutes: 45
10801080
-
@@ -1118,7 +1118,7 @@ jobs:
11181118
type=gha,scope=buildx-curl-yq
11191119
cache-to: type=gha,mode=max,scope=buildx-curl-yq-latest
11201120
build-contexts: |
1121-
yolean/curl-yq=docker-image://ghcr.io/yolean/curl-yq:root
1121+
yolean/curl-yq:root=docker-image://ghcr.io/yolean/curl-yq:root
11221122
continue-on-error: false
11231123
timeout-minutes: 45
11241124
-
@@ -1163,6 +1163,6 @@ jobs:
11631163
type=gha,scope=buildx-duckdb
11641164
cache-to: type=gha,mode=max,scope=buildx-duckdb-latest
11651165
build-contexts: |
1166-
yolean/duckdb=docker-image://ghcr.io/yolean/duckdb:root
1166+
yolean/duckdb:root=docker-image://ghcr.io/yolean/duckdb:root
11671167
continue-on-error: false
11681168
timeout-minutes: 45

test.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,7 @@ EOF
114114
if [ ! -z "$DEPENDENCIES" ]; then
115115
echo " build-contexts: |"
116116
for NAME_FULL in $DEPENDENCIES; do
117-
# Extract image name without tag
118-
local IMAGE_NAME=$(echo "$NAME_FULL" | cut -d':' -f1)
119-
echo " $IMAGE_NAME=docker-image://ghcr.io/$NAME_FULL"
117+
echo " $NAME_FULL=docker-image://ghcr.io/$NAME_FULL"
120118
done
121119
fi
122120

0 commit comments

Comments
 (0)