We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0b110e6 + 547b947 commit d08e00eCopy full SHA for d08e00e
.github/workflows/dart.yml
@@ -49,6 +49,9 @@ jobs:
49
packages_glob="${packages_glob:1}"
50
if [ -n "$packages_glob" ]; then
51
if [[ "$packages_glob" == *"nextcloud"* ]]; then
52
+ if [[ "${{ github.event.pull_request.head.repo.full_name }}" == "${{ github.repository }}" ]]; then
53
+ export PUSH_IMAGES="1"
54
+ fi
55
./tool/build-dev-container.sh
56
fi
57
MELOS_PACKAGES="$packages_glob" melos test
tool/common.sh
@@ -15,7 +15,7 @@ function cache_build_args() {
15
"--cache-to" "type=inline,mode=max"
16
"--cache-from" "type=registry,ref=$tag"
17
)
18
- if [ -v GITHUB_REPOSITORY ]; then
+ if [ -v PUSH_IMAGES ]; then
19
build_args+=("--cache-to" "type=registry,ref=$tag,mode=max")
20
21
0 commit comments