Skip to content

Commit

Permalink
chore: try out Podman
Browse files Browse the repository at this point in the history
  • Loading branch information
p5 committed Jan 6, 2025
1 parent ea1dd4b commit 9dc10bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/actions/build-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ runs:
done
podman build \
"${BUILD_ARGS[@]}" \
${BUILD_ARGS[@]} \
$TAGS_FLAGS \
-f ${{ inputs.dockerfile }} \
${{ inputs.context }}
Expand All @@ -79,8 +79,6 @@ runs:
env:
BUILD_ARGS_INPUT: ${{ inputs.build-args }}
run: |
set -ex
BUILD_ARGS=()
while IFS= read -r build_arg; do
if [ -z "$build_arg" ]; then
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
id: build
uses: ./.github/actions/build-image
with:
builder: docker
builder: podman
context: .
dockerfile: Containerfile
image-name: ${{ env.IMAGE_NAME }}
Expand Down Expand Up @@ -194,7 +194,7 @@ jobs:
id: build
uses: ./.github/actions/build-image
with:
builder: docker
builder: podman
context: .
dockerfile: Containerfile.nvidia
image-name: ${{ env.IMAGE_NAME }}
Expand Down

0 comments on commit 9dc10bb

Please sign in to comment.