container-image.yml 709 B

123456789101112131415161718192021222324
  1. name: container image
  2. on:
  3. push:
  4. pull_request:
  5. schedule:
  6. - cron: '0 20 * * 5'
  7. jobs:
  8. docker-build:
  9. runs-on: ubuntu-20.04
  10. steps:
  11. - uses: docker/setup-qemu-action@v1.2.0
  12. - uses: docker/setup-buildx-action@v1.6.0
  13. # > By default, this action uses the Git context so you don't need to use
  14. # > the actions/checkout action to checkout the repository because this
  15. # > will be done directly by buildkit. [...]
  16. # > any file mutation in the steps that precede [...] will be ignored
  17. # https://github.com/marketplace/actions/build-and-push-docker-images
  18. - uses: docker/build-push-action@v2.8.0
  19. with:
  20. platforms: |
  21. linux/amd64
  22. linux/arm/v7