Skip to content

Commit

Permalink
Including a small change in README to test GHActions (#2)
Browse files Browse the repository at this point in the history
* Including test to GH Actions
  • Loading branch information
nullhack authored Mar 9, 2023
1 parent edeeb6f commit 8e6a3cc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Docker Image CI

on:
push:
branches: [ "main" ]
branches: [ main ]
pull_request:
branches: [ "main" ]
branches: [ main ]

jobs:

Expand All @@ -13,6 +13,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v2
- name: Install dependencies
run: |
apt-get update && apt-get install -y python3-pip
pip3 install cookiecutter
- name: Generate project files with cookiecutter
run: cookiecutter --no-input .
- name: Build the Docker image
run: docker build . --file Dockerfile --tag test-image:$(date +%s)
run: cd python-project-example && docker build . --file Dockerfile --tag my-image-name:$(date +%s)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<br />
<div align="center">

<h1 align="center"> Cookiecutter Python Project Template</h3>
<h1 align="center"> Python Project Template</h3>

<p align="center">
Cookiecutter for Python template with some awesome tools to quickstart any Python project.
Expand Down

0 comments on commit 8e6a3cc

Please sign in to comment.