build-releases.yml 528 B

12345678910111213141516171819202122232425
  1. name: Build container release images
  2. on:
  3. push:
  4. tags:
  5. - '*'
  6. permissions:
  7. contents: read
  8. packages: write
  9. jobs:
  10. build-image:
  11. uses: ./.github/workflows/build-container-image.yml
  12. with:
  13. platforms: linux/amd64,linux/arm64
  14. use_native_arm64_builder: true
  15. push_to_images: |
  16. tootsuite/mastodon
  17. ghcr.io/mastodon/mastodon
  18. flavor: |
  19. latest=false
  20. tags: |
  21. type=pep440,pattern={{raw}}
  22. type=pep440,pattern=v{{major}}.{{minor}}
  23. secrets: inherit