Skip to content

Commit d7f7bec

Browse files
committed
zizmor ignores
1 parent 2d670ca commit d7f7bec

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,15 @@ jobs:
119119
- name: Set up QEMU (for docker buildx)
120120
uses: docker/setup-qemu-action@v3
121121

122+
# We never run or use untrusted code so cache-poisoning shouldn't be
123+
# possible other than if a dependency or action is compromised
122124
- name: Set up Docker Buildx (for multi-arch builds)
123125
uses: docker/setup-buildx-action@v3 # zizmor: ignore[cache-poisoning]
124126
with:
125127
# Allows pushing to registry on localhost:5000
126128
driver-opts: network=host
127129

128-
- name: Setup push rights to Docker Hub # zizmor: ignore[template-injection]
130+
- name: Setup push rights to Docker Hub
129131
# This was setup by...
130132
# 1. Creating a [Robot Account](https://quay.io/organization/jupyterhub?tab=robots) in the JupyterHub
131133
# . Quay.io org
@@ -162,7 +164,7 @@ jobs:
162164
echo "Image tags: ${{ steps.jupyterhubtags.outputs.tags }}"
163165
164166
- name: Build and push jupyterhub
165-
uses: docker/build-push-action@v6
167+
uses: docker/build-push-action@v6 # zizmor: ignore[cache-poisoning]
166168
with:
167169
context: base
168170
platforms: linux/amd64,linux/arm64
@@ -257,7 +259,7 @@ jobs:
257259
python -mpip install -r tests/dev-requirements.txt
258260
python -mplaywright install chromium
259261
260-
- name: Test demo image
262+
- name: Test demo image # zizmor: ignore[template-injection]
261263
run: |
262264
DEMO_IMAGE=${{ fromJson(steps.demotags.outputs.tags)[0] }}
263265
docker run -d --name hub -p8000:8000 "$DEMO_IMAGE"

0 commit comments

Comments
 (0)