We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8eb9a5c commit 09e694cCopy full SHA for 09e694c
.github/workflows/docker-image.yml
@@ -16,9 +16,16 @@ jobs:
16
- uses: actions/checkout@v2
17
- name: Install dependencies
18
run: |
19
- apt-get update && apt-get install -y python3-pip
+ apt-get update && apt-get install -y python3-pip docker-compose
20
pip3 install cookiecutter
21
- name: Generate project files with cookiecutter
22
run: cookiecutter --no-input .
23
- - name: Build the Docker image
24
- run: cd python-project-example && docker build . --file Dockerfile --tag my-image-name:$(date +%s)
+ - name: Set up Docker Buildx
+ uses: docker/setup-buildx-action@v3
25
+ - name: Build and test
26
+ uses: docker/build-push-action@v5
27
+ with:
28
+ context: .
29
+ file: ./python-project-example/Dockerfile
30
+ push: false
31
+
0 commit comments