mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-20 19:09:07 +01:00
rework docker tags (#1763)
* rework docker tags This commit tries to align the new docker tags with the old schema A prerelease will end up with the following tags: - unstable - v0.23.0-alpha3 - 0.23.0.alpha3 - sha-1234adsfg A release will end up with: - latest - stable - v0.23.0 - v0.23 - v0 - 0.23.0 - 0.23 - 0 - sha-1234adsfg All of the builds will also have a `-debug` version. Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com> * update changelog Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com> --------- Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
1b01b9e14f
commit
1904d79e90
@ -97,13 +97,17 @@ kos:
|
|||||||
- linux/arm64
|
- linux/arm64
|
||||||
- linux/arm/v7
|
- linux/arm/v7
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- "{{ if not .Prerelease }}latest{{ end }}"
|
||||||
- "{{ .Tag }}"
|
- "{{ if not .Prerelease }}{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
|
||||||
- "{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
|
- "{{ if not .Prerelease }}{{ .Major }}.{{ .Minor }}"
|
||||||
- "{{ .Major }}.{{ .Minor }}"
|
- "{{ if not .Prerelease }}{{ .Major }}"
|
||||||
- "{{ .Major }}"
|
- "{{ if not .Prerelease }}v{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
|
||||||
- "sha-{{ .ShortCommit }}"
|
- "{{ if not .Prerelease }}v{{ .Major }}.{{ .Minor }}"
|
||||||
|
- "{{ if not .Prerelease }}v{{ .Major }}"
|
||||||
- "{{ if not .Prerelease }}stable{{ else }}unstable{{ end }}"
|
- "{{ if not .Prerelease }}stable{{ else }}unstable{{ end }}"
|
||||||
|
- "{{ .Tag }}"
|
||||||
|
- '{{ trimprefix .Tag "v" }}'
|
||||||
|
- "sha-{{ .ShortCommit }}"
|
||||||
|
|
||||||
- id: dockerhub
|
- id: dockerhub
|
||||||
build: headscale
|
build: headscale
|
||||||
@ -116,14 +120,17 @@ kos:
|
|||||||
- linux/arm64
|
- linux/arm64
|
||||||
- linux/arm/v7
|
- linux/arm/v7
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- "{{ if not .Prerelease }}latest{{ end }}"
|
||||||
- "{{ .Tag }}"
|
- "{{ if not .Prerelease }}{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
|
||||||
- "{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
|
- "{{ if not .Prerelease }}{{ .Major }}.{{ .Minor }}"
|
||||||
- "{{ .Major }}.{{ .Minor }}"
|
- "{{ if not .Prerelease }}{{ .Major }}"
|
||||||
- "{{ .Major }}"
|
- "{{ if not .Prerelease }}v{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
|
||||||
- "sha-{{ .ShortCommit }}"
|
- "{{ if not .Prerelease }}v{{ .Major }}.{{ .Minor }}"
|
||||||
- "{{ if not .Prerelease }}stable{{ end }}"
|
- "{{ if not .Prerelease }}v{{ .Major }}"
|
||||||
- "{{ if not .Prerelease }}stable{{ else }}unstable{{ end }}"
|
- "{{ if not .Prerelease }}stable{{ else }}unstable{{ end }}"
|
||||||
|
- "{{ .Tag }}"
|
||||||
|
- '{{ trimprefix .Tag "v" }}'
|
||||||
|
- "sha-{{ .ShortCommit }}"
|
||||||
|
|
||||||
- id: ghcr-debug
|
- id: ghcr-debug
|
||||||
repository: ghcr.io/juanfont/headscale
|
repository: ghcr.io/juanfont/headscale
|
||||||
@ -139,13 +146,17 @@ kos:
|
|||||||
- linux/arm64
|
- linux/arm64
|
||||||
- linux/arm/v7
|
- linux/arm/v7
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- "{{ if not .Prerelease }}latest{{ end }}-debug"
|
||||||
- "{{ .Tag }}-debug"
|
- "{{ if not .Prerelease }}{{ .Major }}.{{ .Minor }}.{{ .Patch }}-debug"
|
||||||
- "{{ .Major }}.{{ .Minor }}.{{ .Patch }}-debug"
|
- "{{ if not .Prerelease }}{{ .Major }}.{{ .Minor }}-debug"
|
||||||
- "{{ .Major }}.{{ .Minor }}-debug"
|
- "{{ if not .Prerelease }}{{ .Major }}-debug"
|
||||||
- "{{ .Major }}-debug"
|
- "{{ if not .Prerelease }}v{{ .Major }}.{{ .Minor }}.{{ .Patch }}-debug"
|
||||||
- "sha-{{ .ShortCommit }}-debug"
|
- "{{ if not .Prerelease }}v{{ .Major }}.{{ .Minor }}-debug"
|
||||||
|
- "{{ if not .Prerelease }}v{{ .Major }}-debug"
|
||||||
- "{{ if not .Prerelease }}stable{{ else }}unstable{{ end }}-debug"
|
- "{{ if not .Prerelease }}stable{{ else }}unstable{{ end }}-debug"
|
||||||
|
- "{{ .Tag }}-debug"
|
||||||
|
- '{{ trimprefix .Tag "v" }}-debug'
|
||||||
|
- "sha-{{ .ShortCommit }}-debug"
|
||||||
|
|
||||||
- id: dockerhub-debug
|
- id: dockerhub-debug
|
||||||
build: headscale
|
build: headscale
|
||||||
@ -158,13 +169,17 @@ kos:
|
|||||||
- linux/arm64
|
- linux/arm64
|
||||||
- linux/arm/v7
|
- linux/arm/v7
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- "{{ if not .Prerelease }}latest{{ end }}-debug"
|
||||||
- "{{ .Tag }}-debug"
|
- "{{ if not .Prerelease }}{{ .Major }}.{{ .Minor }}.{{ .Patch }}-debug"
|
||||||
- "{{ .Major }}.{{ .Minor }}.{{ .Patch }}-debug"
|
- "{{ if not .Prerelease }}{{ .Major }}.{{ .Minor }}-debug"
|
||||||
- "{{ .Major }}.{{ .Minor }}-debug"
|
- "{{ if not .Prerelease }}{{ .Major }}-debug"
|
||||||
- "{{ .Major }}-debug"
|
- "{{ if not .Prerelease }}v{{ .Major }}.{{ .Minor }}.{{ .Patch }}-debug"
|
||||||
- "sha-{{ .ShortCommit }}-debug"
|
- "{{ if not .Prerelease }}v{{ .Major }}.{{ .Minor }}-debug"
|
||||||
|
- "{{ if not .Prerelease }}v{{ .Major }}-debug"
|
||||||
- "{{ if not .Prerelease }}stable{{ else }}unstable{{ end }}-debug"
|
- "{{ if not .Prerelease }}stable{{ else }}unstable{{ end }}-debug"
|
||||||
|
- "{{ .Tag }}-debug"
|
||||||
|
- '{{ trimprefix .Tag "v" }}-debug'
|
||||||
|
- "sha-{{ .ShortCommit }}-debug"
|
||||||
|
|
||||||
checksum:
|
checksum:
|
||||||
name_template: "checksums.txt"
|
name_template: "checksums.txt"
|
||||||
|
@ -31,6 +31,8 @@ after improving the test harness as part of adopting [#1460](https://github.com/
|
|||||||
- If no DERP is configured, the server will fail to start, this can be because it cannot load the DERPMap from file or url.
|
- If no DERP is configured, the server will fail to start, this can be because it cannot load the DERPMap from file or url.
|
||||||
- Embedded DERP server requires a private key [#1611](https://github.com/juanfont/headscale/pull/1611)
|
- Embedded DERP server requires a private key [#1611](https://github.com/juanfont/headscale/pull/1611)
|
||||||
- Add a filepath entry to [`derp.server.private_key_path`](https://github.com/juanfont/headscale/blob/b35993981297e18393706b2c963d6db882bba6aa/config-example.yaml#L95)
|
- Add a filepath entry to [`derp.server.private_key_path`](https://github.com/juanfont/headscale/blob/b35993981297e18393706b2c963d6db882bba6aa/config-example.yaml#L95)
|
||||||
|
- Docker images are now built with goreleaser (ko) [#1716](https://github.com/juanfont/headscale/pull/1716) [#1763](https://github.com/juanfont/headscale/pull/1763)
|
||||||
|
- Entrypoint of container image has changed from shell to headscale, require change from `headscale serve` to `serve`
|
||||||
|
|
||||||
### Changes
|
### Changes
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user