You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
621 B

  1. name: Build and Push Docker Images
  2. on:
  3. push:
  4. branches:
  5. - master
  6. pull_request:
  7. branches:
  8. - master
  9. jobs:
  10. build:
  11. runs-on: ubuntu-latest
  12. steps:
  13. - name: Checkout code
  14. uses: actions/checkout@v4
  15. - name: Setup Docker Buildx
  16. uses: docker/setup-buildx-action@v3
  17. # - name: Login to DockerHub
  18. # uses: docker/login-action@v3
  19. # with:
  20. # username: ${{ secrets.DOCKERHUB_USERNAME }}
  21. # password: ${{ secrets.DOCKERHUB_TOKEN }}
  22. - name: Build and Push Docker Images
  23. run: make all
  24. env:
  25. GITHUB_REF: ${{ github.ref }}