Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hcloud-cloud-controller-manager
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
hetznercloud
hcloud-cloud-controller-manager
Commits
1c9294bb
Unverified
Commit
1c9294bb
authored
2 years ago
by
Julian Tölle
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
feat: publish ARM container images (#420)
parent
e1152b93
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.goreleaser.yml
+16
-1
16 additions, 1 deletion
.goreleaser.yml
Dockerfile
+1
-1
1 addition, 1 deletion
Dockerfile
with
17 additions
and
2 deletions
.goreleaser.yml
+
16
−
1
View file @
1c9294bb
...
@@ -14,13 +14,15 @@ builds:
...
@@ -14,13 +14,15 @@ builds:
-
linux
-
linux
goarch
:
goarch
:
-
amd64
-
amd64
-
arm64
-
arm
binary
:
hcloud-cloud-controller-manager
binary
:
hcloud-cloud-controller-manager
ldflags
:
ldflags
:
-
"
-s
-w
-X
github.com/hetznercloud/hcloud-cloud-controller-manager/hcloud.providerVersion={{
if
not
.IsSnapshot
}}v{{
end
}}{{
.Version
}}"
-
"
-s
-w
-X
github.com/hetznercloud/hcloud-cloud-controller-manager/hcloud.providerVersion={{
if
not
.IsSnapshot
}}v{{
end
}}{{
.Version
}}"
archives
:
archives
:
-
id
:
deployment-yamls
-
id
:
deployment-yamls
#
builds: [""]
builds
:
[
"
"
]
name_template
:
"
{{
.ProjectName
}}_{{
.Version
}}_deployment_yamls"
name_template
:
"
{{
.ProjectName
}}_{{
.Version
}}_deployment_yamls"
wrap_in_directory
:
true
wrap_in_directory
:
true
...
@@ -30,11 +32,24 @@ dockers:
...
@@ -30,11 +32,24 @@ dockers:
goarch
:
amd64
goarch
:
amd64
image_templates
:
[
"
hetznercloud/hcloud-cloud-controller-manager:{{
if
not
.IsSnapshot
}}v{{
end
}}{{
.Version
}}-amd64"
]
image_templates
:
[
"
hetznercloud/hcloud-cloud-controller-manager:{{
if
not
.IsSnapshot
}}v{{
end
}}{{
.Version
}}-amd64"
]
use
:
buildx
use
:
buildx
-
build_flag_templates
:
[
--platform=linux/arm64
]
dockerfile
:
Dockerfile
goarch
:
arm64
image_templates
:
[
"
hetznercloud/hcloud-cloud-controller-manager:{{
if
not
.IsSnapshot
}}v{{
end
}}{{
.Version
}}-arm64v8"
]
use
:
buildx
-
build_flag_templates
:
[
--platform=linux/arm/v6
]
dockerfile
:
Dockerfile
goarch
:
arm
goarm
:
6
image_templates
:
[
"
hetznercloud/hcloud-cloud-controller-manager:{{
if
not
.IsSnapshot
}}v{{
end
}}{{
.Version
}}-armv6"
]
use
:
buildx
docker_manifests
:
docker_manifests
:
-
name_template
:
hetznercloud/hcloud-cloud-controller-manager:{{ if not .IsSnapshot }}v{{ end }}{{ .Version }}
-
name_template
:
hetznercloud/hcloud-cloud-controller-manager:{{ if not .IsSnapshot }}v{{ end }}{{ .Version }}
image_templates
:
image_templates
:
-
hetznercloud/hcloud-cloud-controller-manager:{{ if not .IsSnapshot }}v{{ end }}{{ .Version }}-amd64
-
hetznercloud/hcloud-cloud-controller-manager:{{ if not .IsSnapshot }}v{{ end }}{{ .Version }}-amd64
-
hetznercloud/hcloud-cloud-controller-manager:{{ if not .IsSnapshot }}v{{ end }}{{ .Version }}-arm64v8
-
hetznercloud/hcloud-cloud-controller-manager:{{ if not .IsSnapshot }}v{{ end }}{{ .Version }}-armv6
release
:
release
:
ids
:
[
"
"
]
ids
:
[
"
"
]
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
+
1
−
1
View file @
1c9294bb
FROM
--platform=$BUILDPLATFORM
alpine:3.17
FROM
alpine:3.17
RUN
apk add
--no-cache
ca-certificates bash
RUN
apk add
--no-cache
ca-certificates bash
COPY
hcloud-cloud-controller-manager /bin/hcloud-cloud-controller-manager
COPY
hcloud-cloud-controller-manager /bin/hcloud-cloud-controller-manager
ENTRYPOINT
["/bin/hcloud-cloud-controller-manager"]
ENTRYPOINT
["/bin/hcloud-cloud-controller-manager"]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment