Skip to content

Commit

Permalink
fix: make sure tags are fetched in buildkite
Browse files Browse the repository at this point in the history
  • Loading branch information
icehaunter committed Feb 7, 2023
1 parent 01fe691 commit 1dd6aef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .buildkite/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ steps:
env:
TAG_AS_LATEST: "true"
command:
- git fetch --tags
- export ELECTRIC_IMAGE_NAME="${DOCKER_REPO}/${IMAGE_NAME}"
- export ELECTRIC_VERSION=$(make --silent print_version_from_git)
- make docker-build-ci
- wait
- label: ":rocket: Publish the image to DockerHub"
if: build.tag =~ /^[0-9]+\.[0-9]+\.[0-9]+/
command:
- git fetch --tags
- export ELECTRIC_IMAGE_NAME="${DOCKERHUB_REPO}/${IMAGE_NAME}"
- make docker-build-ci-crossplatform

0 comments on commit 1dd6aef

Please sign in to comment.