Skip to content

Commit 8710b53

Browse files
committed
Review comments
1 parent 9eaf5d3 commit 8710b53

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/build-ci-container.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ jobs:
4141
- name: Build container
4242
working-directory: ./.github/workflows/containers/github-action-ci/
4343
run: |
44-
podman build -t ${{ steps.vars.outputs.container-name-tag }} -f stage1.Dockerfile .
44+
podman build -t ${{ steps.vars.outputs.container-name-tag }} -f Dockerfile .
4545
46+
# Save the container so we have it in case the push fails. This also
47+
# allows us to separate the push step into a different job so we can
48+
# maintain minimal permissions while building the container.
4649
- name: Save container image
4750
run: |
4851
podman save ${{ steps.vars.outputs.container-name-tag }} > ${{ steps.vars.outputs.container-filename }}
4952
50-
# Upload the container so we have it in case the push fails. This also
51-
# allows us to separate the push step into a separate job so we can
52-
# maintain minimal permissions while building the container.
5353
- name: Upload container image
5454
uses: actions/upload-artifact@v4
5555
with:

.github/workflows/containers/github-action-ci/stage1.Dockerfile renamed to .github/workflows/containers/github-action-ci/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ RUN cmake -B ./build -G Ninja ./llvm \
3636
-DLLVM_DISTRIBUTION_COMPONENTS="lld;compiler-rt;clang-format;scan-build" \
3737
-DCLANG_DEFAULT_LINKER="lld"
3838

39-
RUN ninja -C ./build stage2-clang-bolt stage2-install-distribution && ninja -C ./build install-distribution && rm -rf ./build
39+
RUN ninja -C ./build stage2-clang-bolt stage2-install-distribution && ninja -C ./build install-distribution
4040

4141
FROM base
4242

0 commit comments

Comments
 (0)