mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-26 22:36:21 +01:00
26 lines
571 B
YAML
26 lines
571 B
YAML
name: Build container release images
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
permissions:
|
|
contents: read
|
|
packages: write
|
|
|
|
jobs:
|
|
build-image:
|
|
uses: ./.github/workflows/build-container-image.yml
|
|
with:
|
|
platforms: linux/amd64,linux/arm64
|
|
use_native_arm64_builder: true
|
|
push_to_images: |
|
|
tootsuite/mastodon
|
|
ghcr.io/mastodon/mastodon
|
|
flavor: |
|
|
latest=${{ startsWith(github.ref, 'refs/tags/v4.1.') }}
|
|
tags: |
|
|
type=pep440,pattern={{raw}}
|
|
type=pep440,pattern=v{{major}}.{{minor}}
|
|
secrets: inherit
|