main.yml 613 B

123456789101112131415161718192021222324252627282930
  1. name: CI
  2. on:
  3. push:
  4. branches:
  5. - support/github-actions
  6. jobs:
  7. build:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - uses: actions/checkout@v1
  11. - name: Bump version
  12. run: sh ./bin/github-actions/bump-version.sh
  13. - name: Set up Docker Buildx
  14. uses: crazy-max/ghaction-docker-buildx@v1.0.4
  15. with:
  16. # Buildx version. Example: v0.3.0
  17. version: # optional, default is latest
  18. - name: Build Docker Image
  19. run: |
  20. docker buildx build \
  21. --platform linux/amd64 \
  22. --output "type=image,push=false" \
  23. --file ./docker/Dockerfile .