File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 81
81
PUSH=push
82
82
fi
83
83
fi
84
+ if [ "$GITHUB_REPOSITORY" != "moby/buildkit" ]; then
85
+ PUSH=false
86
+ fi
84
87
echo "tag=${TAG}" >>${GITHUB_OUTPUT}
85
88
echo "push=${PUSH}" >>${GITHUB_OUTPUT}
86
89
platforms=$(docker buildx bake release --print | jq -cr '.target."release".platforms')
Original file line number Diff line number Diff line change 61
61
PUSH=push
62
62
fi
63
63
fi
64
+ if [ "$GITHUB_REPOSITORY" != "moby/buildkit" ]; then
65
+ PUSH=false
66
+ fi
64
67
echo "typ=${TYP}" >>${GITHUB_OUTPUT}
65
68
echo "push=${PUSH}" >>${GITHUB_OUTPUT}
66
69
echo "tag=${TAG}" >>${GITHUB_OUTPUT}
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ currentref=""
53
53
currentcontext=" ."
54
54
cacheFromFlags=" "
55
55
cacheToFlags=" "
56
- if [ " $GITHUB_ACTIONS " = " true" ]; then
56
+ if [ " $GITHUB_ACTIONS " = " true" ] && [ " $GITHUB_REPOSITORY " = " moby/buildkit " ] ; then
57
57
currentref=" https://github.com/$GITHUB_REPOSITORY .git#$GITHUB_REF "
58
58
if [ -n " $CACHE_FROM " ]; then
59
59
for cfrom in $CACHE_FROM ; do
You can’t perform that action at this time.
0 commit comments