Skip to content

Commit

Permalink
Add Docker image to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
J0WI committed Jan 10, 2022
1 parent 6634e41 commit bd07793
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,19 @@ jobs:
run: |
bundle exec rake db:setup
bundle exec rake
docker:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Cleanup
run: docker system prune --all --force --volumes

- name: Build Docker image
run: docker build --tag ${{ github.repository }}:$(date +%s) .

- name: Show images
run: docker images

0 comments on commit bd07793

Please sign in to comment.