Skip to content

Commit cba4b97

Browse files
author
user.name
committed
new version
1 parent a6d7ebe commit cba4b97

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/demo.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,19 @@ jobs:
1111
- name: Set up Docker Buildx
1212
uses: docker/setup-buildx-action@v3
1313

14-
- name: Build and Save Docker Image
15-
uses: docker/build-push-action@v6
14+
# - name: Build and Save Docker Image
15+
# uses: docker/build-push-action@v6
16+
# with:
17+
# context: .
18+
# file: Dockerfile
19+
# tags: my-image:latest
20+
# push: false
21+
22+
- name: Build Docker Image
23+
uses: docker/exec-action@v2  
1624
with:
17-
context: .
18-
file: Dockerfile
19-
tags: my-image:latest
20-
push: false
25+
commands: |
26+
docker build -t my-image:latest .
2127
2228
- name: save image to tar
2329
run: |

0 commit comments

Comments
 (0)