diff --git a/.github/actions/build-image/action.yml b/.github/actions/build-image/action.yml index e2beef1..0726eb8 100644 --- a/.github/actions/build-image/action.yml +++ b/.github/actions/build-image/action.yml @@ -64,7 +64,7 @@ runs: done podman build \ - "${BUILD_ARGS[@]}" \ + ${BUILD_ARGS[@]} \ $TAGS_FLAGS \ -f ${{ inputs.dockerfile }} \ ${{ inputs.context }} @@ -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 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fb21955..045d916 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }} @@ -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 }}