File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 33 push :
44 branches :
55 - main
6- - gha-release-2
76 paths-ignore :
87 - README.md
98 - .buildkite/**
4645 - name : Commit changes
4746 uses : planetscale/ghcommit-action@c7915d6c18d5ce4eb42b0eff3f10a29fe0766e4c # v0.1.44
4847 with :
49- commit_message : " 🤖 Update version tag "
48+ commit_message : " 🤖 Bump version"
5049 repo : ${{ github.repository }}
5150 branch : ${{ github.head_ref || github.ref_name }}
5251 env :
@@ -57,11 +56,13 @@ jobs:
5756 set -eou pipefail
5857 set -x
5958
59+ image="ghcr.io/planetscale/telemetry-buildkite-plugin:v${version}"
60+
6061 git reset --hard && git clean -ffdx && git pull
61- version=$(${RUNNER_TEMP}/bin/autotag -n)
62- gh release create "v${version}" --target main --title "v${version}" --generate-notes
6362
64- docker build -t ghcr.io/planetscale/telemetry:v${version} .
65- docker push ghcr.io/planetscale/telemetry:v${version}
63+ docker build -t "$image" .
64+ docker push "$image"
65+
66+ gh release create "v${version}" --target main --title "v${version}" --generate-notes
6667 env :
6768 GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2+
23BUILDKITE_TELEMETRY_PLUGIN_TMPDIR=$( mktemp -d)
34BUILDKITE_TELEMETRY_PLUGIN_OUTFILE=" ${BUILDKITE_TELEMETRY_PLUGIN_TMPDIR} /out.txt"
45
You can’t perform that action at this time.
0 commit comments