docker.yml 496 B

12345678910111213141516171819202122
  1. name: Build and publish to Docker Hub
  2. on:
  3. push:
  4. branches:
  5. - 'master'
  6. jobs:
  7. docker:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - name: Login to DockerHub
  11. uses: docker/login-action@v1
  12. with:
  13. username: ${{ secrets.DOCKERHUB_USERNAME }}
  14. password: ${{ secrets.DOCKERHUB_TOKEN }}
  15. - name: Build and push
  16. id: docker_build
  17. uses: docker/build-push-action@v2
  18. with:
  19. push: true
  20. tags: joystream/orion:latest