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.

28 lines
572 B

  1. name: Docker Image CI
  2. on:
  3. push:
  4. branches:
  5. - master2
  6. jobs:
  7. build:
  8. runs-on: ubuntu-latest
  9. timeout-minutes: 30
  10. steps:
  11. - uses: actions/checkout@v1
  12. - name: Build the Docker image
  13. run: docker build . --file dev/build/Dockerfile -t requarks/wiki:dev
  14. - name: Login to Docker Hub
  15. run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
  16. - name: Push to Docker Hub
  17. run: docker push requarks/wiki:dev
  18. - name: Logout from Docker Hub
  19. run: docker logout