ghcr-runtime.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # Workflow that builds, tests and then pushes all the runtime docker images to the ghcr.io repository
  2. name: Build, Test and Publish Runtime Image
  3. # Only run one workflow of the same group at a time.
  4. # There can be at most one running and one pending job in a concurrency group at any time.
  5. concurrency:
  6. group: ${{ github.workflow }}-${{ github.ref }}
  7. cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
  8. # Always run on "main"
  9. # Always run on tags
  10. # Always run on PRs
  11. # Can also be triggered manually
  12. on:
  13. push:
  14. branches:
  15. - main
  16. tags:
  17. - '*'
  18. pull_request:
  19. workflow_dispatch:
  20. inputs:
  21. reason:
  22. description: 'Reason for manual trigger'
  23. required: true
  24. default: ''
  25. jobs:
  26. nikolaik:
  27. uses: ./.github/workflows/ghcr-runtime-reusable.yml
  28. with:
  29. base_image: 'nikolaik/python-nodejs:python3.11-nodejs22'
  30. image_tag: nikolaik
  31. secrets: inherit
  32. python:
  33. uses: ./.github/workflows/ghcr-runtime-reusable.yml
  34. with:
  35. base_image: 'python:3.11-bookworm'
  36. image_tag: python
  37. secrets: inherit
  38. node:
  39. uses: ./.github/workflows/ghcr-runtime-reusable.yml
  40. with:
  41. base_image: 'node:22-bookworm'
  42. image_tag: node
  43. secrets: inherit