Merge remote-tracking branch 'mastodon/stable-4.2' #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build container release images | |
on: | |
push: | |
branches: | |
- master | |
permissions: | |
contents: read | |
packages: write | |
jobs: | |
build-image: | |
uses: ./.github/workflows/build-container-image.yml | |
with: | |
platforms: linux/arm64 | |
use_native_arm64_builder: false | |
push_to_images: ghcr.io/byulmaru/mastodon | |
# Do not use cache when building releases, so apt update is always ran and the release always contain the latest packages | |
cache: false | |
# Only tag with latest when ran against the latest stable branch | |
# This needs to be updated after each minor version release | |
flavor: | | |
latest=auto | |
tags: | | |
type=raw,value=latest | |
type=pep440,pattern={{raw}} | |
type=pep440,pattern=v{{major}}.{{minor}} | |
secrets: inherit |