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.
 
 
 
 

27 rivejä
474 B

  1. name: Docker image
  2. on:
  3. push:
  4. branches: [master, features]
  5. pull_request:
  6. branches: [master, features]
  7. jobs:
  8. build-image:
  9. runs-on: ubuntu-latest
  10. name: Test building Docker image
  11. steps:
  12. - uses: actions/checkout@v1
  13. - name: Set up Docker
  14. uses: docker-practice/actions-setup-docker@v1
  15. - name: Create image
  16. run: |
  17. docker build -t kosmorro .
  18. - name: Execute image
  19. run: |
  20. docker run kosmorro kosmorro