зеркало из https://github.com/microsoft/msquic.git
Fix ownership issue in dockers (#3726)
The previous attempt still failed the build. `git config --global safe.directory '*'` worked in another PR as an individual step in a job. So, try this instead.
This commit is contained in:
Родитель
c63227250c
Коммит
b3141c58a3
|
@ -67,5 +67,5 @@ RUN apt-get install --no-install-recommends -y liblttng-ust-dev:arm64 \
|
|||
libnuma-dev:armhf \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN git config --system --add safe.directory "*"
|
||||
RUN git config --global safe.directory '*'
|
||||
|
|
@ -67,4 +67,4 @@ RUN apt-get --no-install-recommends install -y liblttng-ust-dev:arm64 \
|
|||
libnuma-dev:armhf \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN git config --system --add safe.directory "*"
|
||||
RUN git config --global safe.directory '*'
|
|
@ -5,14 +5,14 @@ on:
|
|||
branches: [ main ]
|
||||
paths:
|
||||
- .github/workflows/docker-publish-xcomp.yml
|
||||
- .docker/linux-20.04
|
||||
- .docker/linux-22.04
|
||||
- .docker/ubuntu-20.04/*
|
||||
- .docker/ubuntu-22.04/*
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
paths:
|
||||
- .github/workflows/docker-publish-xcomp.yml
|
||||
- .docker/linux-20.04
|
||||
- .docker/linux-22.04
|
||||
- .docker/ubuntu-20.04/*
|
||||
- .docker/ubuntu-22.04/*
|
||||
|
||||
permissions: read-all
|
||||
|
||||
|
@ -67,8 +67,8 @@ jobs:
|
|||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@2eb1c1961a95fc15694676618e422e8ba1d63825
|
||||
with:
|
||||
context: .docker/linux-${{ matrix.version }}
|
||||
file: .docker/linux-${{ matrix.version }}/Dockerfile
|
||||
context: .docker/ubuntu-${{ matrix.version }}
|
||||
file: .docker/ubuntu-${{ matrix.version }}/Dockerfile
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ matrix.version }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
|
Загрузка…
Ссылка в новой задаче