code.gitea.io/gitea@v1.21.7/docker/manifest.tmpl (about)

     1  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}}
     2  {{#if build.tags}}
     3  {{#unless (contains "-rc" build.tag)}}
     4  {{#unless (contains "-dev" build.tag)}}
     5  tags:
     6  {{#each build.tags}}
     7    - {{this}}
     8  {{/each}}
     9    - "latest"
    10  {{/unless}}
    11  {{/unless}}
    12  {{/if}}
    13  manifests:
    14    -
    15      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
    16      platform:
    17        architecture: amd64
    18        os: linux
    19    -
    20      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
    21      platform:
    22        architecture: arm64
    23        os: linux
    24        variant: v8