Skip to content

Commit f70ad17

Browse files
committed
github actions security features
1 parent 48caa73 commit f70ad17

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -172,18 +172,16 @@ jobs:
172172
uses: docker/setup-buildx-action@v3
173173

174174
- name: Build Docker image
175-
uses: docker/build-push-action@v5
176-
with:
177-
context: .
178-
file: ./Dockerfile
179-
push: false
180-
tags: quantum-zkp:test
181-
cache-from: type=gha
182-
cache-to: type=gha,mode=max
175+
run: docker build -t quantum-zkp:test .
176+
177+
- name: Verify Docker image exists
178+
run: docker images quantum-zkp:test
183179

184180
- name: Test Docker image
185181
run: |
182+
echo "Testing Docker image..."
186183
docker run --rm quantum-zkp:test help
184+
echo "Testing demo..."
187185
docker run --rm quantum-zkp:test demo
188186
189187
# Build and push Docker image (on release)

0 commit comments

Comments
 (0)