Commit 5d354638 authored by Barnabas Busa's avatar Barnabas Busa Committed by GitHub

fix: drop everythign after @sha from image labels (#636)

parent 71f6e28e
...@@ -69,7 +69,9 @@ def label_maker(client, client_type, image, connected_client, extra_labels): ...@@ -69,7 +69,9 @@ def label_maker(client, client_type, image, connected_client, extra_labels):
labels = { labels = {
"ethereum-package.client": client, "ethereum-package.client": client,
"ethereum-package.client-type": client_type, "ethereum-package.client-type": client_type,
"ethereum-package.client-image": image.replace("/", "-").replace(":", "-"), "ethereum-package.client-image": image.replace("/", "-")
.replace(":", "_")
.split("@")[0], # drop the sha256 part of the image from the label
"ethereum-package.connected-client": connected_client, "ethereum-package.connected-client": connected_client,
} }
labels.update(extra_labels) # Add extra_labels to the labels dictionary labels.update(extra_labels) # Add extra_labels to the labels dictionary
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment