fix: add explicit --context and --file to all docker build commands

This commit is contained in:
2026-05-14 18:17:53 -07:00
parent 9a6188b2ae
commit 56a56e590e
2 changed files with 11 additions and 3 deletions
+3 -1
View File
@@ -52,9 +52,11 @@ jobs:
- name: Build and push CI base image
run: |
WORKSPACE_DIR="$GITHUB_WORKSPACE"
# Build with multiple tags
docker build \
--file Dockerfile.ci-base \
--context "$WORKSPACE_DIR" \
--file "$WORKSPACE_DIR/Dockerfile.ci-base" \
--tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/ci-base:latest \
--tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/ci-base:playwright-${{ steps.meta.outputs.playwright_version }} \
--tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/ci-base:${{ github.sha }} \