mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-30 22:23:43 +01:00
ac2dae0d11
Conflicts: - `.github/workflows/build-releases.yml`: Upstream changed comments close to a line we modified to account for different container image repositories. Updated the comments as upstream did.
26 lines
704 B
YAML
26 lines
704 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: false
|
|
push_to_images: |
|
|
ghcr.io/${{ github.repository_owner }}/mastodon
|
|
# Only tag with latest when ran against the latest stable branch
|
|
# This needs to be updated after each minor version release
|
|
flavor: |
|
|
latest=${{ startsWith(github.ref, 'refs/tags/v4.1.') }}
|
|
tags: |
|
|
type=pep440,pattern={{raw}}
|
|
type=pep440,pattern=v{{major}}.{{minor}}
|
|
secrets: inherit
|