File tree 3 files changed +13
-6
lines changed
3 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ set -eufo pipefail
5
5
echo --- :hammer: Installing tools
6
6
apk add --update-cache --no-progress helm yq skopeo git
7
7
8
+ echo --- :git::docker: determining version and tags
8
9
source .buildkite/steps/repo_info.sh
9
10
10
11
echo --- :docker: Logging into ghcr.io
Original file line number Diff line number Diff line change @@ -11,3 +11,8 @@ agent_image="${docker_repo_prefix}/agent-stack-k8s/agent:${version}"
11
11
controller_image=$( buildkite-agent meta-data get controller-image)
12
12
helm_repo=" oci://${docker_repo_prefix} /helm"
13
13
helm_image=" $helm_repo /agent-stack-k8s:$version "
14
+
15
+ echo version=" $version "
16
+ echo controller_image=" $controller_image "
17
+ echo agent_image=" $agent_image "
18
+ echo helm_image=" $helm_image "
Original file line number Diff line number Diff line change 2
2
3
3
set -eufo pipefail
4
4
5
- source .buildkite/steps/repo_info.sh
6
-
7
5
echo --- :hammer: Installing tools
8
- apk add --update-cache --no-progress crane
6
+ apk add --update-cache --no-progress crane git
7
+
8
+ echo --- :git::docker: determining version and tags
9
+ source .buildkite/steps/repo_info.sh
9
10
10
- echo --- :doker : Logging into ghcr.io
11
+ echo --- :docker : Logging into ghcr.io
11
12
crane auth login ghcr.io \
12
13
--username " $REGISTRY_USERNAME " \
13
14
--password " $REGISTRY_PASSWORD "
14
15
15
- echo --- :crane : tagging images latest on ghcr.io
16
+ echo --- :docker : tagging images latest on ghcr.io
16
17
crane tag " $controller_image " latest
17
18
crane tag " $agent_image " latest
18
- crane tag " $helm_image " latest
19
+ crane tag " ${ helm_image# oci :// } " latest
You can’t perform that action at this time.
0 commit comments