Skip to content

Commit 3a324e4

Browse files
committed
fix docker image name
1 parent 1f7ed54 commit 3a324e4

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/release.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ on:
33
push:
44
branches:
55
- main
6-
- gha-release-2
76
paths-ignore:
87
- README.md
98
- .buildkite/**
@@ -46,7 +45,7 @@ jobs:
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}}

hooks/environment

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env bash
2+
23
BUILDKITE_TELEMETRY_PLUGIN_TMPDIR=$(mktemp -d)
34
BUILDKITE_TELEMETRY_PLUGIN_OUTFILE="${BUILDKITE_TELEMETRY_PLUGIN_TMPDIR}/out.txt"
45

0 commit comments

Comments
 (0)