container-image.yml 969 B

12345678910111213141516171819202122232425262728
  1. # sync with https://github.com/fphammerle/docker-onion-service/blob/master/.github/workflows/container-image.yml
  2. name: container image
  3. on:
  4. push:
  5. pull_request:
  6. schedule:
  7. - cron: '0 20 * * 5'
  8. jobs:
  9. docker-build:
  10. runs-on: ubuntu-20.04
  11. steps:
  12. - uses: docker/setup-qemu-action@v3.2.0
  13. - uses: docker/setup-buildx-action@v3.6.1
  14. # > By default, this action uses the Git context so you don't need to use
  15. # > the actions/checkout action to checkout the repository because this
  16. # > will be done directly by buildkit. [...]
  17. # > any file mutation in the steps that precede [...] will be ignored
  18. # https://github.com/marketplace/actions/build-and-push-docker-images
  19. - uses: docker/build-push-action@v6.7.0
  20. with:
  21. # git-annex package not available for armhf:
  22. # https://web.archive.org/web/20230630055644/https://packages.debian.org/bookworm/git
  23. platforms: |
  24. linux/amd64
  25. linux/arm64