Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
Buildkite will now generate the docker devcontainer with the vX.Y.Z
Browse files Browse the repository at this point in the history
… tag name instead of `plutus-starter-devcontainer-v*` (#598)
  • Loading branch information
koslambrou authored Jul 18, 2022
1 parent 29c3dc7 commit cb6b8c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
steps:
- label: ':shipit: deploy devcontainer image for plutus-starter'
branches: "plutus-starter-devcontainer/v*"
# For example, "v0.1.0" will match, but not "plutus-starter-devcontainer/v0.1.0" or "v0.1.0-rc1"
branches: "v*.*.* !v*-*"
command:
- "./.buildkite/plutus-starter-devcontainer-push.sh"
concurrency: 1
Expand Down
3 changes: 2 additions & 1 deletion nix/devcontainer/deploy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ pkgs.writeScript "docker-build-push-devcontainer" ''
tag="''${BUILDKITE_TAG:-}"
echo "Git tag: ''${tag}."
# Pick out only the version component of a tag like:
# "plutus-starter-devcontainer/v1.0" -> "v1.0"
# "v1.0" -> "v1.0"
version="$(echo $tag | sed -e 's/.*[\/]//')"
# Construct a tag to push up to dockerHub
Expand Down

0 comments on commit cb6b8c9

Please sign in to comment.