fix: add explicit --context and --file to all docker build commands
This commit is contained in:
@@ -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 }} \
|
||||
|
||||
Reference in New Issue
Block a user