diff --git a/.github/workflows/weekly-release.yml b/.github/workflows/weekly-release.yml index 14fda2035e..4af2a6af8d 100644 --- a/.github/workflows/weekly-release.yml +++ b/.github/workflows/weekly-release.yml @@ -61,14 +61,14 @@ jobs: IMAGE_AMMENDS=() # the grep needs to remove an extra v, which is in the git tag, but not in the image tag - for image in $(docker images --format '{{.Repository}}:{{.Tag}}' | grep "grafana/phlare:${GORELEASER_CURRENT_TAG:1}-"); do + for image in $(docker images --format '{{.Repository}}:{{.Tag}}' | grep "grafana/pyroscope:${GORELEASER_CURRENT_TAG:1}-"); do new_image="${image/0.0.0-/}" docker tag "${image}" "${new_image}" docker push "${new_image}" IMAGE_AMMENDS+=( "--amend" "${new_image}" ) done - docker manifest create "grafana/phlare:${WEEKLY_IMAGE_TAG}" "${IMAGE_AMMENDS[@]}" - docker manifest push "grafana/phlare:${WEEKLY_IMAGE_TAG}" + docker manifest create "grafana/pyroscope:${WEEKLY_IMAGE_TAG}" "${IMAGE_AMMENDS[@]}" + docker manifest push "grafana/pyroscope:${WEEKLY_IMAGE_TAG}" - name: Push git tag for weekly release run: git push https://grafanabot:${{ secrets.GH_BOT_ACCESS_TOKEN }}@github.com/grafana/pyroscope.git "${WEEKLY_IMAGE_TAG}" diff --git a/.goreleaser.yaml b/.goreleaser.yaml index fae0c1dcd1..75b4f1457d 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,4 +1,4 @@ -project_name: phlare # TODO: Change when we change the image repository +project_name: pyroscope before: hooks: # This hook ensures that goreleaser uses the correct go version for a Phlare release @@ -176,10 +176,10 @@ release: ## Docker Images - - [grafana/phlare](https://hub.docker.com/r/grafana/phlare/tags) + - [grafana/pyroscope](https://hub.docker.com/r/grafana/pyroscope/tags) ```bash - docker pull docker.io/grafana/phlare:{{ trimprefix .Tag "v" }} + docker pull docker.io/grafana/pyroscope:{{ trimprefix .Tag "v" }} ``` ids: