This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2023-07-18 04:36:12 -07:00
|
|
|
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
|
2023-07-18 22:25:59 -07:00
|
|
|
use_native_arm64_builder: false
|
2023-07-18 04:36:12 -07:00
|
|
|
push_to_images: |
|
2023-07-18 22:25:59 -07:00
|
|
|
ghcr.io/${{ github.repository_owner }}/mastodon
|
2023-07-18 04:36:12 -07:00
|
|
|
flavor: |
|
|
|
|
latest=${{ startsWith(github.ref, 'refs/tags/v4.1.') }}
|
|
|
|
tags: |
|
|
|
|
type=pep440,pattern={{raw}}
|
|
|
|
type=pep440,pattern=v{{major}}.{{minor}}
|
|
|
|
secrets: inherit
|