Skip to content

Commit cd35ef2

Browse files
podman -> docker
1 parent 417ac5f commit cd35ef2

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
docker build -t ${{ steps.vars.outputs.container-name-tag }} .
4545
- name: Save container image
4646
run: |
47-
podman save ${{ steps.vars.outputs.container-name-tag }} > ${{ steps.vars.outputs.container-filename }}
47+
docker save ${{ steps.vars.outputs.container-name-tag }} > ${{ steps.vars.outputs.container-filename }}
4848
- name: Upload container image
4949
uses: actions/upload-artifact@v4
5050
with:

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

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ on:
2020
jobs:
2121
build-ci-container:
2222
if: github.repository_owner == 'llvm'
23-
runs-on: depot-ubuntu-22.04-16
23+
runs-on: llvm-premerge-linux-runners
24+
container:
25+
image: gcr.io/kaniko-project/executor:debug
2426
outputs:
2527
container-name: ${{ steps.vars.outputs.container-name }}
2628
container-name-tag: ${{ steps.vars.outputs.container-name-tag }}
@@ -57,12 +59,6 @@ jobs:
5759
path: ${{ steps.vars.outputs.container-filename }}
5860
retention-days: 14
5961

60-
- name: Test Container
61-
run: |
62-
for image in ${{ steps.vars.outputs.container-name-tag }} ${{ steps.vars.outputs.container-name }}; do
63-
podman run --rm -it $image /usr/bin/bash -x -c 'printf '\''#include <iostream>\nint main(int argc, char **argv) { std::cout << "Hello\\n"; }'\'' | clang++ -x c++ - && ./a.out | grep Hello'
64-
done
65-
6662
push-ci-container:
6763
if: github.event_name == 'push'
6864
needs:

0 commit comments

Comments
 (0)