Skip to content

Commit fc197f5

Browse files
committed
ci: direct push
1 parent dc5e14c commit fc197f5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ 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"
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 's|GITHUB_REPOSITORY##\*/|GITHUB_REPOSITORY|' \
62+
"$BASHBREW_SCRIPTS/github-actions/generate.sh"
6163
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)')"
6264
echo "strategy=$strategy" >> "$GITHUB_OUTPUT"
6365
jq . <<<"$strategy" # sanity check / debugging aid

0 commit comments

Comments
 (0)