Skip to content

Build container by manual #5

Build container by manual

Build container by manual #5

Workflow file for this run

name: Build container by manual
on:
workflow_dispatch:
inputs:
version:
description: 'Version to build'
required: true
default: 'v4.3.0'
permissions:
contents: read
packages: write
jobs:
build-image:
uses: ./.github/workflows/build-container-image.yml
with:
file_to_build: Dockerfile
platforms: linux/amd64
use_native_arm64_builder: true
push_to_images: |
ghcr.io/kadoshita/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=true
tags: |
type=pep440,pattern={{raw}},value=${{ inputs.version }}
secrets: inherit
build-image-streaming:
uses: ./.github/workflows/build-container-image.yml
with:
file_to_build: streaming/Dockerfile
platforms: linux/amd64
use_native_arm64_builder: true
push_to_images: |
ghcr.io/kadoshita/mastodon-streaming
# 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=true
tags: |
type=pep440,pattern={{raw}},value=${{ inputs.version }}
secrets: inherit