Skip to content

Commit 589dc30

Browse files
committed
ci: direct push
1 parent dc5e14c commit 589dc30

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,10 @@ jobs:
5757
- id: generate-jobs
5858
name: Generate Jobs
5959
run: |
60-
sed -i '/"platform"/c"platform": "{{- range $index, $arch := $e.Architectures }}{{ if $index }},{{ end }}{{- if eq $arch "arm64v8" }}linux/arm64/v8{{- else }}linux/{{$arch}}{{- end }}{{- end }}"' "$BASHBREW_SCRIPTS/github-actions/generate.sh"
61-
strategy="$(GITHUB_REPOSITORY='ghcr.io/mariadb/mariadb' "$BASHBREW_SCRIPTS/github-actions/generate.sh" | jq -c '.matrix.include |= map(.meta.entries[0].tags[0] as $tag | .runs.mariadbtest = "./.test/run.sh " + $tag)')"
60+
sed -i -e '/"platform"/c"platform": "{{- range $index, $arch := $e.Architectures }}{{ if $index }},{{ end }}{{- if eq $arch "arm64v8" }}linux/arm64/v8{{- else }}linux/{{$arch}}{{- e | del(.runs.history)nd }}{{- end }}"' \
61+
-e '/^tags=/ctags="\$\(bashbrew list --build-order --uniq "\$image" | sed -e s#^#ghcr.io/mariadb/# \)"' \
62+
"$BASHBREW_SCRIPTS/github-actions/generate.sh"
63+
strategy="$(GITHUB_REPOSITORY='mariadb' "$BASHBREW_SCRIPTS/github-actions/generate.sh" | jq -c '.matrix.include |= map(.meta.entries[0].tags[0] as $tag | .runs.mariadbtest = "./.test/run.sh " + $tag)')"
6264
echo "strategy=$strategy" >> "$GITHUB_OUTPUT"
6365
jq . <<<"$strategy" # sanity check / debugging aid
6466

0 commit comments

Comments
 (0)