main.yml 571 B

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