Skip to content

Commit

Permalink
Play with docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
gmmcal committed Oct 14, 2023
1 parent 49ac17d commit 5be018c
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Docker

on:
- push

jobs:
docker:
name: 'Docker: Build'
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v4

- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
push: false
context: .
target: test
tags: "gmmcal:test"
- name: Test
run: |
docker run --rm gmmcal:test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ capybara-*.html
/public/assets
/public/uploads
/coverage/
!/coverage/.keep
/spec/tmp
/spec/backend/examples.txt
/spec/end-to-end/screenshots
Expand Down
Empty file added coverage/.keep
Empty file.

0 comments on commit 5be018c

Please sign in to comment.