mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-14 05:56:14 +01:00
017a156553
Proposal found here: https://github.com/go-gitea/gitea/issues/23654 TODO: make non-breaking (can we publish docker image using dev and nightly prefix? at same time). if anyone has advice please comment :) If this PR is merged, then I can add redirects to the downloads site.
22 lines
949 B
Handlebars
22 lines
949 B
Handlebars
image: gitea/gitea:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}{{#if (hasPrefix "refs/heads/release/v" build.ref)}}{{trimPrefix "refs/heads/release/v" build.ref}}-{{/if}}nightly{{/if}}-rootless
|
|
{{#if build.tags}}
|
|
{{#unless (contains "-rc" build.tag)}}
|
|
tags:
|
|
{{#each build.tags}}
|
|
- {{this}}-rootless
|
|
{{/each}}
|
|
- "latest-rootless"
|
|
{{/unless}}
|
|
{{/if}}
|
|
manifests:
|
|
-
|
|
image: gitea/gitea:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}{{#if (hasPrefix "refs/heads/release/v" build.ref)}}{{trimPrefix "refs/heads/release/v" build.ref}}-{{/if}}nightly{{/if}}-linux-amd64-rootless
|
|
platform:
|
|
architecture: amd64
|
|
os: linux
|
|
-
|
|
image: gitea/gitea:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}{{#if (hasPrefix "refs/heads/release/v" build.ref)}}{{trimPrefix "refs/heads/release/v" build.ref}}-{{/if}}nightly{{/if}}-linux-arm64-rootless
|
|
platform:
|
|
architecture: arm64
|
|
os: linux
|
|
variant: v8
|