Skip to content

Commit

Permalink
Add a GitHub Workflow that spins up a Docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
zkkv committed Sep 1, 2024
1 parent e24189d commit 73de0a4
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Docker

on:
push:
branches: [main]
pull_request:

jobs:
create:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Build Docker image
run: docker build -t img .

- name: Create Docker container
run: docker create img

0 comments on commit 73de0a4

Please sign in to comment.