docker-image.yml 426 B

123456789101112131415161718192021
  1. name: Docker Image CI
  2. on:
  3. push:
  4. branches: [ "master", "dev" ]
  5. pull_request:
  6. # The branches below must be a subset of the branches above
  7. branches: [ "master", "dev" ]
  8. schedule:
  9. - cron: '39 0 * * 3'
  10. jobs:
  11. build:
  12. runs-on: ubuntu-latest
  13. steps:
  14. - uses: actions/checkout@v2
  15. - name: Build the Docker image
  16. run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)