You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
734 B
27 lines
734 B
name: Build container release images |
|
on: |
|
push: |
|
tags: |
|
- '*' |
|
|
|
permissions: |
|
contents: read |
|
packages: write |
|
|
|
jobs: |
|
build-image: |
|
uses: ./.github/workflows/build-container-image.yml |
|
with: |
|
push_to_images: | |
|
tootsuite/mastodon |
|
ghcr.io/mastodon/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=false |
|
tags: | |
|
type=pep440,pattern={{raw}} |
|
type=pep440,pattern=v{{major}}.{{minor}} |
|
secrets: inherit
|
|
|